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 HealthViewMBean
Exception
public List<HealthStatus> healthList() throws Exception
HealthViewMBean
HealthStatus
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 HealthViewMBean
Exception
public String healthStatus() throws Exception
healthStatus
in interface HealthViewMBean
Exception
public String getCurrentStatus()
HealthViewMBean
getCurrentStatus
in interface HealthViewMBean
Copyright © 2005–2017. All rights reserved.