public interface GridLocalMetrics extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
getAvailableProcessors()
Returns the number of processors available to the Java virtual machine.
|
double |
getCurrentCpuLoad()
Returns the system load average for the last minute.
|
double |
getCurrentGcCpuLoad()
Returns amount of time spent in GC since the last update.
|
int |
getDaemonThreadCount()
Returns the current number of live daemon threads.
|
long |
getHeapMemoryCommitted()
Returns the amount of heap memory in bytes that is committed for
the Java virtual machine to use.
|
long |
getHeapMemoryInitialized()
Returns the amount of heap memory in bytes that the Java virtual machine
initially requests from the operating system for memory management.
|
long |
getHeapMemoryMaximum()
Returns the maximum amount of heap memory in bytes that can be
used for memory management.
|
long |
getHeapMemoryUsed()
Returns the current heap size that is used for object allocation.
|
long |
getNonHeapMemoryCommitted()
Returns the amount of non-heap memory in bytes that is committed for
the Java virtual machine to use.
|
long |
getNonHeapMemoryInitialized()
Returns the amount of non-heap memory in bytes that the Java virtual machine
initially requests from the operating system for memory management.
|
long |
getNonHeapMemoryMaximum()
Returns the maximum amount of non-heap memory in bytes that can be
used for memory management.
|
long |
getNonHeapMemoryUsed()
Returns the current non-heap memory size that is used by Java VM.
|
int |
getPeakThreadCount()
Returns the peak live thread count since the Java virtual machine
started or peak was reset.
|
long |
getStartTime()
Returns the start time of the Java virtual machine in milliseconds.
|
int |
getThreadCount()
Returns the current number of live threads including both
daemon and non-daemon threads.
|
long |
getTotalStartedThreadCount()
Returns the total number of threads created and also started
since the Java virtual machine started.
|
long |
getUptime()
Returns the uptime of the Java virtual machine in milliseconds.
|
int getAvailableProcessors()
Runtime.availableProcessors()
method.
This value may change during a particular invocation of the virtual machine.
double getCurrentCpuLoad()
If the load average is not available, a negative value is returned.
This method is designed to provide a hint about the system load and may be queried frequently. The load average may be unavailable on some platform where it is expensive to implement this method.
double getCurrentGcCpuLoad()
The return value is a percentage of time.
long getHeapMemoryInitialized()
-1
if the initial memory size is undefined.
This value represents a setting of the heap memory for Java VM and is not a sum of all initial heap values for all memory pools.
-1
if undefined.long getHeapMemoryUsed()
used
heap memory values of all heap memory pools.
The amount of used memory in the returned is the amount of memory occupied by both live objects and garbage objects that have not been collected, if any.
long getHeapMemoryCommitted()
committed
heap memory values of all heap memory pools.long getHeapMemoryMaximum()
-1
if the maximum memory size is undefined.
This amount of memory is not guaranteed to be available for memory management if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.
This value represents a setting of the heap memory for Java VM and is not a sum of all initial heap values for all memory pools.
-1
if undefined.long getNonHeapMemoryInitialized()
-1
if the initial memory size is undefined.
This value represents a setting of non-heap memory for Java VM and is not a sum of all initial heap values for all memory pools.
-1
if undefined.long getNonHeapMemoryUsed()
used
non-heap memory values of all non-heap memory pools.long getNonHeapMemoryCommitted()
committed
non-heap memory values of all non-heap memory pools.long getNonHeapMemoryMaximum()
-1
if the maximum memory size is undefined.
This amount of memory is not guaranteed to be available for memory management if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.
This value represents a setting of the non-heap memory for Java VM and is not a sum of all initial non-heap values for all memory pools.
-1
if undefined.long getUptime()
long getStartTime()
int getThreadCount()
int getPeakThreadCount()
long getTotalStartedThreadCount()
int getDaemonThreadCount()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.3.0 Release Date : October 28 2017