org.apache.activemq.broker.jmx
Class HealthView
java.lang.Object
org.apache.activemq.broker.jmx.HealthView
- All Implemented Interfaces:
- HealthViewMBean
public class HealthView
- extends Object
- implements HealthViewMBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HealthView
public HealthView(ManagedRegionBroker broker)
health
public TabularData health()
throws Exception
- Specified by:
health in interface HealthViewMBean
- Throws:
Exception
healthList
public List<HealthStatus> healthList()
throws Exception
- Description copied from interface:
HealthViewMBean
- Warning this method can only be invoked if you have the correct version
of
HealthStatus on your classpath or you use something
like jolokia to access JMX.
If in doubt, please use the #status() method instead!
- Specified by:
healthList in interface HealthViewMBean
- Throws:
Exception
getCurrentStatus
public String getCurrentStatus()
- Specified by:
getCurrentStatus in interface HealthViewMBean
- Returns:
- String representation of the current Broker state
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.