@ManagedOperation public Map<String, Object> dumpStats() { Map<String, Object> retval = prot_stack.dumpStats(); if (retval != null) { Map<String, Long> tmp = dumpChannelStats(); if (tmp != null) retval.put("channel", tmp); } return retval; }
@ManagedOperation public Map<String, Object> dumpStats(String protocol_name) { return prot_stack.dumpStats(protocol_name, null); }
public Map<String, Object> dumpStats(String protocol_name, List<String> attrs) { return prot_stack.dumpStats(protocol_name, attrs); }