Class ProtPerfHelper.ProtPerfProbeHandler
java.lang.Object
org.jgroups.util.ProtPerfHelper.ProtPerfProbeHandler
- All Implemented Interfaces:
DiagnosticsHandler.ProbeHandler
- Enclosing class:
ProtPerfHelper
protected static class ProtPerfHelper.ProtPerfProbeHandler
extends Object
implements DiagnosticsHandler.ProbeHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidaddOrdering(TP transport) protected voidprotected static StringclusterSuffix(String key) protected StringdumpAllStacks(boolean down, boolean up, boolean detailed) protected Stringprotected StringdumpStats(String cluster, Map<String, ProtPerfHelper.Entry> m, boolean down, boolean up, boolean detailed) handleProbe(String... keys) Handles a probe.String[]Returns a list of supported keys
-
Field Details
-
ordering
-
map
-
-
Constructor Details
-
ProtPerfProbeHandler
public ProtPerfProbeHandler()
-
-
Method Details
-
addOrdering
-
handleProbe
Description copied from interface:DiagnosticsHandler.ProbeHandlerHandles a probe. For each key that is handled, the key and its result should be in the returned map.- Specified by:
handleProbein interfaceDiagnosticsHandler.ProbeHandler- Returns:
- A map of sring keys and values. A null return value is permissible.
-
supportedKeys
Description copied from interface:DiagnosticsHandler.ProbeHandlerReturns a list of supported keys- Specified by:
supportedKeysin interfaceDiagnosticsHandler.ProbeHandler
-
clusterSuffix
-
add
-
dumpStats
-
dumpAllStacks
-
dumpStats
protected String dumpStats(String cluster, Map<String, ProtPerfHelper.Entry> m, boolean down, boolean up, boolean detailed) -
clearStats
protected void clearStats()
-