Package org.drools.core.management
Class KnowledgeBaseMonitoring
- java.lang.Object
-
- org.drools.core.management.KnowledgeBaseMonitoring
-
- All Implemented Interfaces:
javax.management.DynamicMBean
public class KnowledgeBaseMonitoring extends java.lang.Object implements javax.management.DynamicMBeanAn implementation for the KnowledgeBaseMBean
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description KnowledgeBaseMonitoring(RuleBase kbase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetAttribute(java.lang.String attributeName)javax.management.AttributeListgetAttributes(java.lang.String[] attributeNames)javax.management.openmbean.TabularDatagetGlobals()java.lang.StringgetId()javax.management.MBeanInfogetMBeanInfo()javax.management.ObjectNamegetName()java.lang.String[]getPackages()longgetSessionCount()java.lang.Objectinvoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)voidsetAttribute(javax.management.Attribute attribute)javax.management.AttributeListsetAttributes(javax.management.AttributeList attributes)voidstartInternalMBeans()voidstopInternalMBeans()
-
-
-
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:
getAttributein interfacejavax.management.DynamicMBean- Throws:
javax.management.AttributeNotFoundExceptionjavax.management.MBeanExceptionjavax.management.ReflectionException
-
getAttributes
public javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
- Specified by:
getAttributesin interfacejavax.management.DynamicMBean
-
getMBeanInfo
public javax.management.MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfoin interfacejavax.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:
invokein interfacejavax.management.DynamicMBean- Throws:
javax.management.MBeanExceptionjavax.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:
setAttributein interfacejavax.management.DynamicMBean- Throws:
javax.management.AttributeNotFoundExceptionjavax.management.InvalidAttributeValueExceptionjavax.management.MBeanExceptionjavax.management.ReflectionException
-
setAttributes
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
- Specified by:
setAttributesin interfacejavax.management.DynamicMBean
-
-