public class HealthView extends Object implements HealthViewMBean
| Constructor and Description |
|---|
HealthView(ManagedRegionBroker broker) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentStatus()
Warning, this method only return a value if the health or healthList method has previously
been called.
|
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. |
String |
healthStatus() |
public HealthView(ManagedRegionBroker broker)
public TabularData health() throws Exception
health in interface HealthViewMBeanExceptionpublic List<HealthStatus> healthList() throws Exception
HealthViewMBeanHealthStatus on your classpath or you use something
like jolokia to access JMX.
If in doubt, please use the HealthViewMBean.getCurrentStatus() method instead!healthList in interface HealthViewMBeanExceptionpublic String healthStatus() throws Exception
healthStatus in interface HealthViewMBeanExceptionpublic String getCurrentStatus()
HealthViewMBeangetCurrentStatus in interface HealthViewMBeanCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.