public class JChannelProbeHandler extends Object implements DiagnosticsHandler.ProbeHandler
Modifier and Type | Class and Description |
---|---|
protected static class |
JChannelProbeHandler.ThreadEntry |
Modifier and Type | Field and Description |
---|---|
protected JChannel |
ch |
protected Log |
log |
Constructor and Description |
---|
JChannelProbeHandler(JChannel ch) |
Modifier and Type | Method and Description |
---|---|
protected static String |
enable(int type,
boolean flag) |
protected void |
handleJmx(Map<String,String> map,
String input) |
protected void |
handleOperation(Map<String,String> map,
String operation)
Invokes an operation and puts the return value into map
|
Map<String,String> |
handleProbe(String... keys)
Handles a probe.
|
protected JChannel |
resetAllStats() |
String[] |
supportedKeys()
Returns a list of supported keys
|
public JChannelProbeHandler(JChannel ch)
public Map<String,String> handleProbe(String... keys)
DiagnosticsHandler.ProbeHandler
handleProbe
in interface DiagnosticsHandler.ProbeHandler
public String[] supportedKeys()
DiagnosticsHandler.ProbeHandler
supportedKeys
in interface DiagnosticsHandler.ProbeHandler
protected static String enable(int type, boolean flag)
protected JChannel resetAllStats()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.