public class RuntimeMemoryInfoAccessor extends Object implements MemoryInfoAccessor
Runtime.| Constructor and Description | 
|---|
RuntimeMemoryInfoAccessor()  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
public long getTotalMemory()
MemoryInfoAccessorgetTotalMemory in interface MemoryInfoAccessorRuntime.totalMemory()public long getFreeMemory()
MemoryInfoAccessorgetFreeMemory in interface MemoryInfoAccessorRuntime.freeMemory()public long getMaxMemory()
MemoryInfoAccessorgetMaxMemory in interface MemoryInfoAccessorRuntime.maxMemory()Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.