Class KnowledgeBaseMonitoring

  • All Implemented Interfaces:
    javax.management.DynamicMBean

    public class KnowledgeBaseMonitoring
    extends java.lang.Object
    implements javax.management.DynamicMBean
    An implementation for the KnowledgeBaseMBean
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.slf4j.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getAttribute​(java.lang.String attributeName)  
      javax.management.AttributeList getAttributes​(java.lang.String[] attributeNames)  
      javax.management.openmbean.TabularData getGlobals()  
      java.lang.String getId()  
      javax.management.MBeanInfo getMBeanInfo()  
      javax.management.ObjectName getName()  
      java.lang.String[] getPackages()  
      long getSessionCount()  
      java.lang.Object invoke​(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)  
      void setAttribute​(javax.management.Attribute attribute)  
      javax.management.AttributeList setAttributes​(javax.management.AttributeList attributes)  
      void startInternalMBeans()  
      void stopInternalMBeans()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        protected static final transient org.slf4j.Logger logger
    • Constructor Detail

      • KnowledgeBaseMonitoring

        public KnowledgeBaseMonitoring​(RuleBase kbase)
    • Method Detail

      • getName

        public javax.management.ObjectName getName()
      • getGlobals

        public javax.management.openmbean.TabularData getGlobals()
                                                          throws javax.management.openmbean.OpenDataException
        Throws:
        javax.management.openmbean.OpenDataException
      • getId

        public java.lang.String getId()
      • getPackages

        public java.lang.String[] getPackages()
      • getSessionCount

        public long getSessionCount()
      • startInternalMBeans

        public void startInternalMBeans()
      • stopInternalMBeans

        public void stopInternalMBeans()
      • getAttribute

        public java.lang.Object getAttribute​(java.lang.String attributeName)
                                      throws javax.management.AttributeNotFoundException,
                                             javax.management.MBeanException,
                                             javax.management.ReflectionException
        Specified by:
        getAttribute in interface javax.management.DynamicMBean
        Throws:
        javax.management.AttributeNotFoundException
        javax.management.MBeanException
        javax.management.ReflectionException
      • getAttributes

        public javax.management.AttributeList getAttributes​(java.lang.String[] attributeNames)
        Specified by:
        getAttributes in interface javax.management.DynamicMBean
      • getMBeanInfo

        public javax.management.MBeanInfo getMBeanInfo()
        Specified by:
        getMBeanInfo in interface javax.management.DynamicMBean
      • invoke

        public java.lang.Object invoke​(java.lang.String operationName,
                                       java.lang.Object[] params,
                                       java.lang.String[] signature)
                                throws javax.management.MBeanException,
                                       javax.management.ReflectionException
        Specified by:
        invoke in interface javax.management.DynamicMBean
        Throws:
        javax.management.MBeanException
        javax.management.ReflectionException
      • setAttribute

        public void setAttribute​(javax.management.Attribute attribute)
                          throws javax.management.AttributeNotFoundException,
                                 javax.management.InvalidAttributeValueException,
                                 javax.management.MBeanException,
                                 javax.management.ReflectionException
        Specified by:
        setAttribute in interface javax.management.DynamicMBean
        Throws:
        javax.management.AttributeNotFoundException
        javax.management.InvalidAttributeValueException
        javax.management.MBeanException
        javax.management.ReflectionException
      • setAttributes

        public javax.management.AttributeList setAttributes​(javax.management.AttributeList attributes)
        Specified by:
        setAttributes in interface javax.management.DynamicMBean