Package org.jgroups.blocks
Class RequestCorrelator.MyProbeHandler
- java.lang.Object
-
- org.jgroups.blocks.RequestCorrelator.MyProbeHandler
-
- All Implemented Interfaces:
DiagnosticsHandler.ProbeHandler
- Enclosing class:
- RequestCorrelator
protected class RequestCorrelator.MyProbeHandler extends java.lang.Object implements DiagnosticsHandler.ProbeHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MyProbeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
handleProbe(java.lang.String... keys)
Handles a probe.java.lang.String[]
supportedKeys()
Returns a list of supported keys
-
-
-
Method Detail
-
handleProbe
public java.util.Map<java.lang.String,java.lang.String> handleProbe(java.lang.String... keys)
Description copied from interface:DiagnosticsHandler.ProbeHandler
Handles a probe. For each key that is handled, the key and its result should be in the returned map.- Specified by:
handleProbe
in interfaceDiagnosticsHandler.ProbeHandler
- Returns:
- Map
. A map of keys and values. A null return value is permissible.
-
supportedKeys
public java.lang.String[] supportedKeys()
Description copied from interface:DiagnosticsHandler.ProbeHandler
Returns a list of supported keys- Specified by:
supportedKeys
in interfaceDiagnosticsHandler.ProbeHandler
-
-