Package org.apache.activemq.broker.jmx
Class HealthView
java.lang.Object
org.apache.activemq.broker.jmx.HealthView
- All Implemented Interfaces:
HealthViewMBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWarning, this method only return a value if the health or healthList method has previously been called.health()Warning this method can only be invoked if you have the correct version ofHealthStatuson your classpath or you use something like jolokia to access JMX.
-
Constructor Details
-
HealthView
-
-
Method Details
-
health
- Specified by:
healthin interfaceHealthViewMBean- Throws:
Exception
-
healthList
Description copied from interface:HealthViewMBeanWarning this method can only be invoked if you have the correct version ofHealthStatuson your classpath or you use something like jolokia to access JMX. If in doubt, please use theHealthViewMBean.getCurrentStatus()method instead!- Specified by:
healthListin interfaceHealthViewMBean- Returns:
- a list of HealthStatus objects that describe the health of the Broker.
- Throws:
Exception
-
healthStatus
- Specified by:
healthStatusin interfaceHealthViewMBean- Returns:
- a String representation of current Broker health state.
- Throws:
Exception
-
getCurrentStatus
Description copied from interface:HealthViewMBeanWarning, this method only return a value if the health or healthList method has previously been called. The value is not updated on its own and requires periodic calls to the health or healthList methods to refresh its value.- Specified by:
getCurrentStatusin interfaceHealthViewMBean- Returns:
- String representation of the current Broker state
-