com.ibm.java.diagnostics.healthcenter.api.nativememory

Interface NativeMemoryEvent

  • All Superinterfaces:
    BaseEvent


    public interface NativeMemoryEvent
    extends BaseEvent
    This class defines the values returned when a native memory event takes place and is used by the NativeMemoryEventListener interface
    • Method Detail

      • getProcessPhysical

        long getProcessPhysical()
        Gets the amount of physical memory (RAM) that is currently in use by the monitored process. On some platforms, this memory is called "resident storage" or the "working set".
        Returns:
        The process physical memory (bytes)
      • getProcessVirtual

        long getProcessVirtual()
        Gets the total process address space in use.
        Returns:
        The process virtual memory currently set (bytes)
      • getProcessPrivate

        long getProcessPrivate()
        Gets the amount of memory that is used exclusively by the monitored process. This memory is not shared with other processes on the system.
        Returns:
        The process private memory currently in use (bytes)
      • getFreePhysicalMemory

        long getFreePhysicalMemory()
        Gets the amount of physical memory (RAM) that is free on the monitored system.
        Returns:
        How much free memory there currently is (bytes)
      • getTotalPhysicalMemory

        long getTotalPhysicalMemory()
        Gets the total amount of installed physical memory.
        Returns:
        The current amount of installed memory (bytes)
© Copyright 2012, 2016 IBM Corporation.