Package org.jgroups.stack
Class NonReflectiveProbeHandler
java.lang.Object
org.jgroups.JChannelProbeHandler
org.jgroups.stack.NonReflectiveProbeHandler
- All Implemented Interfaces:
DiagnosticsHandler.ProbeHandler
A
DiagnosticsHandler.ProbeHandler that does not use reflection. Can be used instead of the
default ProbeHandler for commands "jmx" and "op"- Since:
- 4.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jgroups.JChannelProbeHandler
JChannelProbeHandler.ThreadEntry -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<String, Map<String, ResourceDMBean.Accessor>> protected static final Predicate<AccessibleObject> protected final Map<String, Map<String, ResourceDMBean.MethodAccessor>> protected final Map<String, Map<String, ResourceDMBean.Accessor>> Fields inherited from class org.jgroups.JChannelProbeHandler
ch, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondump()Dumps the attributes and their values of _all_ protocols in a stackdumpAttrsSelectedProtocol(String protocol_name, List<String> attrs) Dumps attributes and their values of a given protocol.protected MethodfindMethod(Protocol prot, String method_name, String[] args) protected voidhandleAttrWrite(String protocol_name, String attr_name, String attr_value) initialize(Collection<Protocol> prots) initialize(Protocol[] protocols) protected static voidinvoke(String protocol_name, ResourceDMBean.Accessor setter, String attr, Object value) Methods inherited from class org.jgroups.JChannelProbeHandler
convert, enable, handleJmx, handleOperation, handleProbe, listAllOperations, listOperations, resetAllStats, supportedKeys
-
Field Details
-
attrs
-
setters
-
operations
-
FILTER
-
-
Constructor Details
-
NonReflectiveProbeHandler
-
-
Method Details
-
initialize
-
initialize
-
dump
-
dumpAttrsAllProtocols
Description copied from class:JChannelProbeHandlerDumps the attributes and their values of _all_ protocols in a stack- Overrides:
dumpAttrsAllProtocolsin classJChannelProbeHandler- Returns:
- A map of protocol names as keys and maps (of attribute names and values) as values
-
dumpAttrsSelectedProtocol
protected Map<String,Map<String, dumpAttrsSelectedProtocolObject>> (String protocol_name, List<String> attrs) Description copied from class:JChannelProbeHandlerDumps attributes and their values of a given protocol.- Overrides:
dumpAttrsSelectedProtocolin classJChannelProbeHandler- Parameters:
protocol_name- The name of the protocolattrs- A list of attributes that need to be returned. If null, all attributes of the given protocol will be returned- Returns:
- A map of protocol names as keys and maps (of attribute names and values) as values
-
handleAttrWrite
- Overrides:
handleAttrWritein classJChannelProbeHandler
-
findMethod
- Overrides:
findMethodin classJChannelProbeHandler- Throws:
Exception
-
invoke
protected static void invoke(String protocol_name, ResourceDMBean.Accessor setter, String attr, Object value)
-