com.hazelcast.util
public interface MemoryInfoAccessor
Runtime
,
ManagementFactory.getMemoryMXBean()
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.
|
long getTotalMemory()
Runtime.totalMemory()
long getFreeMemory()
Runtime.freeMemory()
long getMaxMemory()
Runtime.maxMemory()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.