use of org.apache.geode.management.NetworkMetrics in project geode by apache.
the class DistributedSystemBridge method showNetworkMetric.
public NetworkMetrics showNetworkMetric(String member) throws Exception {
MemberMXBean bean = validateMember(member);
NetworkMetrics nm = new NetworkMetrics();
nm.setBytesReceivedRate(bean.getBytesReceivedRate());
nm.setBytesSentRate(bean.getBytesSentRate());
return nm;
}
Aggregations