use of org.apache.geode.management.DiskMetrics in project geode by apache.
the class DistributedSystemBridge method showDiskMetrics.
public DiskMetrics showDiskMetrics(String member) throws Exception {
MemberMXBean bean = validateMember(member);
DiskMetrics dm = new DiskMetrics();
dm.setDiskReadsRate(bean.getDiskReadsRate());
dm.setDiskWritesRate(bean.getDiskWritesRate());
dm.setTotalBackupInProgress(bean.getTotalBackupInProgress());
dm.setTotalBackupCompleted(bean.getTotalBackupCompleted());
dm.setDiskFlushAvgLatency(bean.getDiskFlushAvgLatency());
dm.setTotalBytesOnDisk(bean.getTotalDiskUsage());
return dm;
}
Aggregations