Interface MemoryManagerMXBean

    • Method Summary

      Modifier and Type Method Description
      String[] getMemoryPoolNames()
      Returns the name of memory pools that this memory manager manages.
      String getName()
      Returns the name representing this memory manager.
      boolean isValid()
      Tests if this memory manager is valid in the Java virtual machine.
    • Method Detail

      • getName

        String getName()
        Returns the name representing this memory manager.
        Returns:
        the name of this memory manager.
      • isValid

        boolean isValid()
        Tests if this memory manager is valid in the Java virtual machine. A memory manager becomes invalid once the Java virtual machine removes it from the memory system.
        Returns:
        true if the memory manager is valid in the Java virtual machine; false otherwise.
      • getMemoryPoolNames

        String[] getMemoryPoolNames()
        Returns the name of memory pools that this memory manager manages.
        Returns:
        an array of String objects, each is the name of a memory pool that this memory manager manages.