| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.monitor.impl.LocalMemoryStatsImpl
public class LocalMemoryStatsImpl
| Field Summary | 
|---|
| Fields inherited from interface com.hazelcast.monitor.LocalInstanceStats | 
|---|
| STAT_NOT_AVAILABLE | 
| Constructor Summary | |
|---|---|
| LocalMemoryStatsImpl() | |
| LocalMemoryStatsImpl(MemoryStats memoryStats) | |
| Method Summary | |
|---|---|
|  boolean | equals(Object o) | 
|  void | fromJson(com.eclipsesource.json.JsonObject json) | 
|  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 | getCreationTime() | 
|  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. | 
|  LocalGCStats | 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. | 
|  int | hashCode() | 
|  void | setCommittedHeap(long committedHeap) | 
|  void | setCommittedNativeMemory(long allocated) | 
|  void | setFreeNativeMemory(long freeNativeMemory) | 
|  void | setFreePhysical(long freePhysical) | 
|  void | setGcStats(LocalGCStats gcStats) | 
|  void | setMaxHeap(long maxHeap) | 
|  void | setMaxNativeMemory(long maxNativeMemory) | 
|  void | setTotalPhysical(long totalPhysical) | 
|  void | setUsedHeap(long usedHeap) | 
|  void | setUsedNativeMemory(long used) | 
|  com.eclipsesource.json.JsonObject | toJson() | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public LocalMemoryStatsImpl()
public LocalMemoryStatsImpl(MemoryStats memoryStats)
| Method Detail | 
|---|
public long getTotalPhysical()
MemoryStats
getTotalPhysical in interface MemoryStatspublic void setTotalPhysical(long totalPhysical)
public long getFreePhysical()
MemoryStats
getFreePhysical in interface MemoryStatspublic void setFreePhysical(long freePhysical)
public long getMaxNativeMemory()
MemoryStats
getMaxNativeMemory in interface MemoryStatspublic void setMaxNativeMemory(long maxNativeMemory)
public long getCommittedNativeMemory()
MemoryStats
getCommittedNativeMemory in interface MemoryStatspublic void setCommittedNativeMemory(long allocated)
public long getUsedNativeMemory()
MemoryStats
getUsedNativeMemory in interface MemoryStatspublic void setUsedNativeMemory(long used)
public long getFreeNativeMemory()
MemoryStats
getFreeNativeMemory in interface MemoryStatspublic void setFreeNativeMemory(long freeNativeMemory)
public long getMaxHeap()
MemoryStats
getMaxHeap in interface MemoryStatsRuntime.maxMemory()public long getCommittedHeap()
MemoryStats
getCommittedHeap in interface MemoryStatsRuntime.totalMemory(), 
MemoryUsage.getCommitted()public long getUsedHeap()
MemoryStats
getUsedHeap in interface MemoryStatsMemoryUsage.getUsed()public void setMaxHeap(long maxHeap)
public void setCommittedHeap(long committedHeap)
public void setUsedHeap(long usedHeap)
public long getFreeHeap()
MemoryStats
getFreeHeap in interface MemoryStatsRuntime.freeMemory()public LocalGCStats getGCStats()
MemoryStats
getGCStats in interface MemoryStatsgetGCStats in interface LocalMemoryStatspublic void setGcStats(LocalGCStats gcStats)
public String toString()
toString in class Objectpublic long getCreationTime()
getCreationTime in interface LocalInstanceStatspublic com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializablepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||