use of org.apache.geode.internal.statistics.StatSamplerStats in project geode by apache.
the class MemberMBeanBridge method addSystemStats.
public void addSystemStats() {
GemFireStatSampler sampler = system.getStatSampler();
ProcessStats processStats = sampler.getProcessStats();
StatSamplerStats samplerStats = sampler.getStatSamplerStats();
if (processStats != null) {
systemStatsMonitor.addStatisticsToMonitor(processStats.getStatistics());
}
if (samplerStats != null) {
systemStatsMonitor.addStatisticsToMonitor(samplerStats.getStats());
}
}
Aggregations