|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.util.RuntimeMemoryInfoAccessor
public class RuntimeMemoryInfoAccessor
Provides memory information using Runtime.
| Constructor Summary | |
|---|---|
RuntimeMemoryInfoAccessor()
|
|
| Method Summary | |
|---|---|
long |
getFreeMemory()
Returns the amount of free memory in the Java virtual machine in bytes. |
long |
getMaxMemory()
Returns the maximum amount of memory that the Java virtual machine will attempt to use in bytes. |
long |
getTotalMemory()
Returns total amount allocated memory in the Java virtual machine in bytes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuntimeMemoryInfoAccessor()
| Method Detail |
|---|
public long getTotalMemory()
MemoryInfoAccessor
getTotalMemory in interface MemoryInfoAccessorRuntime.totalMemory()public long getFreeMemory()
MemoryInfoAccessor
getFreeMemory in interface MemoryInfoAccessorRuntime.freeMemory()public long getMaxMemory()
MemoryInfoAccessor
getMaxMemory in interface MemoryInfoAccessorRuntime.maxMemory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||