Example #1
0
 @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;
 }
Example #2
0
 @ManagedOperation
 public Map<String, Object> dumpStats(String protocol_name) {
   return prot_stack.dumpStats(protocol_name, null);
 }
Example #3
0
 public Map<String, Object> dumpStats(String protocol_name, List<String> attrs) {
   return prot_stack.dumpStats(protocol_name, attrs);
 }