use of org.apache.geode.internal.offheap.OffHeapMemoryStats in project geode by apache.
the class MemberMBeanBridge method getOffHeapObjects.
public int getOffHeapObjects() {
int objects = 0;
OffHeapMemoryStats stats = getOffHeapStats();
if (null != stats) {
objects = stats.getObjects();
}
return objects;
}
use of org.apache.geode.internal.offheap.OffHeapMemoryStats in project geode by apache.
the class MemberMBeanBridge method getOffHeapFragmentation.
public int getOffHeapFragmentation() {
int fragmentation = 0;
OffHeapMemoryStats stats = getOffHeapStats();
if (null != stats) {
fragmentation = stats.getFragmentation();
}
return fragmentation;
}
use of org.apache.geode.internal.offheap.OffHeapMemoryStats in project geode by apache.
the class MemberMBeanBridge method getOffHeapFreeMemory.
public long getOffHeapFreeMemory() {
long freeSize = 0;
OffHeapMemoryStats stats = getOffHeapStats();
if (null != stats) {
freeSize = stats.getFreeMemory();
}
return freeSize;
}
Aggregations