Class NonReflectiveProbeHandler

    • Field Detail

      • attrs

        protected final java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​ResourceDMBean.Accessor>> attrs
      • setters

        protected final java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​ResourceDMBean.Accessor>> setters
      • FILTER

        protected static final java.util.function.Predicate<java.lang.reflect.AccessibleObject> FILTER
    • Constructor Detail

      • NonReflectiveProbeHandler

        public NonReflectiveProbeHandler​(JChannel ch)
    • Method Detail

      • dump

        public java.lang.String dump()
      • dumpAttrsAllProtocols

        protected java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Object>> dumpAttrsAllProtocols()
        Description copied from class: JChannelProbeHandler
        Dumps the attributes and their values of _all_ protocols in a stack
        Overrides:
        dumpAttrsAllProtocols in class JChannelProbeHandler
        Returns:
        A map of protocol names as keys and maps (of attribute names and values) as values
      • dumpAttrsSelectedProtocol

        protected java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Object>> dumpAttrsSelectedProtocol​(java.lang.String protocol_name,
                                                                                                                                         java.util.List<java.lang.String> attrs)
        Description copied from class: JChannelProbeHandler
        Dumps attributes and their values of a given protocol.
        Overrides:
        dumpAttrsSelectedProtocol in class JChannelProbeHandler
        Parameters:
        protocol_name - The name of the protocol
        attrs - 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

        protected void handleAttrWrite​(java.lang.String protocol_name,
                                       java.lang.String attr_name,
                                       java.lang.String attr_value)
        Overrides:
        handleAttrWrite in class JChannelProbeHandler
      • findMethod

        protected java.lang.reflect.Method findMethod​(Protocol prot,
                                                      java.lang.String method_name,
                                                      java.lang.String[] args)
                                               throws java.lang.Exception
        Overrides:
        findMethod in class JChannelProbeHandler
        Throws:
        java.lang.Exception
      • invoke

        protected static void invoke​(java.lang.String protocol_name,
                                     ResourceDMBean.Accessor setter,
                                     java.lang.String attr,
                                     java.lang.Object value)