public class RuntimeStats extends CloneableDataObject
Title: Service Event Fabric Runtime
Description: Defines a snapshot of the runtime statistics of the JVM.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
double |
getDiskUsage()
Returns the disk usage (in percents).
|
long |
getFreeDiskSpace()
Returns the free disk space (in bytes).
|
long |
getFreeMemorySize()
Returns the size of free memory (in bytes).
|
long |
getFreePhysicalMemorySize()
Returns the amount of free physical memory (in bytes).
|
long |
getFreeSwapSpaceSize()
Returns the amount of free swap space (in bytes).
|
long |
getHeapFreeMemorySize()
Returns the size of free memory of the heap (in bytes).
|
java.lang.management.MemoryUsage |
getHeapMemoryUsage()
Returns the current memory usage of the heap that is used for object allocation (in bytes).
|
long |
getHeapUsedMemorySize()
Returns the size of used memory of the heap (in bytes).
|
double |
getJvmCpuUsage()
Returns the CPU usage for the JVM process.
|
long |
getJvmUpTime()
Returns the uptime of the JVM (in milliseconds).
|
java.util.List |
getMemoryPoolsStats()
Returns a list of the MemoryPoolStats objects.
|
java.lang.String |
getNodeName()
Returns a name of the node where the statistics has been collected.
|
long |
getNonHeapFreeMemorySize()
Returns the size of free non-heap memory (in bytes).
|
java.lang.management.MemoryUsage |
getNonHeapMemoryUsage()
Returns the current memory usage of non-heap memory that is used by the JVM (in bytes).
|
long |
getNonHeapUsedMemorySize()
Returns the size of used non-heap memory (in bytes).
|
double |
getSystemCpuUsage()
Returns the CPU usage for the OS.
|
java.util.List |
getThreadStats()
Returns a list of the ThreadStats objects.
|
long |
getTotalDiskSpace()
Returns the total disk space (in bytes).
|
long |
getUsedDiskSpace()
Returns the used disk space (in bytes).
|
long |
getUsedMemorySize()
Returns the size of used memory (in bytes).
|
clone, getSerialVersionUID
public java.lang.String getNodeName()
public long getFreePhysicalMemorySize()
public long getFreeSwapSpaceSize()
public double getSystemCpuUsage()
-1
.public long getJvmUpTime()
public double getJvmCpuUsage()
-1
.public long getUsedMemorySize()
public long getFreeMemorySize()
public java.lang.management.MemoryUsage getHeapMemoryUsage()
public long getHeapUsedMemorySize()
public long getHeapFreeMemorySize()
public java.lang.management.MemoryUsage getNonHeapMemoryUsage()
public long getNonHeapUsedMemorySize()
public long getNonHeapFreeMemorySize()
public java.util.List getMemoryPoolsStats()
public java.util.List getThreadStats()
public long getTotalDiskSpace()
public long getFreeDiskSpace()
public long getUsedDiskSpace()
public double getDiskUsage()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.