org.apache.activemq.broker.jmx
Class HealthView

java.lang.Object
  extended by org.apache.activemq.broker.jmx.HealthView
All Implemented Interfaces:
HealthViewMBean

public class HealthView
extends Object
implements HealthViewMBean


Constructor Summary
HealthView(ManagedRegionBroker broker)
           
 
Method Summary
 String getCurrentStatus()
           
 TabularData health()
           
 List<HealthStatus> healthList()
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HealthView

public HealthView(ManagedRegionBroker broker)
Method Detail

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.