|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.memory.DefaultMemoryStats
public class DefaultMemoryStats
Default implementation of MemoryStats.
| Constructor Summary | |
|---|---|
DefaultMemoryStats()
|
|
| Method Summary | |
|---|---|
long |
getCommittedHeap()
Returns the amount of memory in bytes that is committed for the Java virtual machine to use. |
long |
getCommittedNativeMemory()
Returns the amount of native memory in bytes that is committed for current HazelcastInstance to use. |
long |
getFreeHeap()
Returns the amount of free memory in the JVM in bytes. |
long |
getFreeNativeMemory()
Returns the amount of free native memory in current HazelcastInstance in bytes. |
long |
getFreePhysical()
Returns free physical memory available in OS. |
GarbageCollectorStats |
getGCStats()
Returns the garbage collector statistics for the JVM |
long |
getMaxHeap()
Returns the maximum amount of memory that the JVM will attempt to use in bytes. |
long |
getMaxNativeMemory()
Returns the maximum amount of native memory that current HazelcastInstance will attempt to use in bytes. |
long |
getTotalPhysical()
Returns total physical memory available in OS. |
long |
getUsedHeap()
Returns the amount of used memory in the JVM in bytes. |
long |
getUsedNativeMemory()
Returns the amount of used native memory in current HazelcastInstance in bytes. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMemoryStats()
| Method Detail |
|---|
public final long getTotalPhysical()
MemoryStats
getTotalPhysical in interface MemoryStatspublic final long getFreePhysical()
MemoryStats
getFreePhysical in interface MemoryStatspublic final long getMaxHeap()
MemoryStats
getMaxHeap in interface MemoryStatsRuntime.maxMemory()public final long getCommittedHeap()
MemoryStats
getCommittedHeap in interface MemoryStatsRuntime.totalMemory(),
MemoryUsage.getCommitted()public final long getUsedHeap()
MemoryStats
getUsedHeap in interface MemoryStatsMemoryUsage.getUsed()public final long getFreeHeap()
MemoryStats
getFreeHeap in interface MemoryStatsRuntime.freeMemory()public long getMaxNativeMemory()
MemoryStats
getMaxNativeMemory in interface MemoryStatspublic long getCommittedNativeMemory()
MemoryStats
getCommittedNativeMemory in interface MemoryStatspublic long getUsedNativeMemory()
MemoryStats
getUsedNativeMemory in interface MemoryStatspublic long getFreeNativeMemory()
MemoryStats
getFreeNativeMemory in interface MemoryStatspublic GarbageCollectorStats getGCStats()
MemoryStats
getGCStats in interface MemoryStatspublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||