()
| 221 | |
| 222 | |
| 223 | public Map<String,Map<String,Object>> dumpStats() { |
| 224 | Map<String,Map<String,Object>> retval=new HashMap<>(); // no need to be sorted, we need order of protocols as in the config! |
| 225 | for(Protocol p=top_prot; p != null; p=p.getDownProtocol()) { |
| 226 | String prot_name=p.getName(); |
| 227 | if(prot_name == null) |
| 228 | continue; |
| 229 | Map<String,Object> tmp=new TreeMap<>(); |
| 230 | ReflectUtils.dumpStats(p, tmp); |
| 231 | if(!tmp.isEmpty()) |
| 232 | retval.put(prot_name, tmp); |
| 233 | } |
| 234 | return retval; |
| 235 | } |
| 236 | |
| 237 | |
| 238 | public Map<String,Map<String,Object>> dumpStats(final String protocol_name, List<String> attrs) { |
nothing calls this directly
no test coverage detected