Class DelegatingSystemReadyMonitorMXBean
- java.lang.Object
-
- org.opendaylight.infrautils.utils.management.AbstractMXBean
-
- org.opendaylight.infrautils.ready.spi.DelegatingSystemReadyMonitorMXBean
-
- All Implemented Interfaces:
SystemReadyMonitorMXBean
public class DelegatingSystemReadyMonitorMXBean extends AbstractMXBean implements SystemReadyMonitorMXBean
SystemReadyMonitorMXBean implementation.- Author:
- Michael Vorburger.ch, based on code by Faseela originally in KarafSystemReady
-
-
Field Summary
-
Fields inherited from class org.opendaylight.infrautils.utils.management.AbstractMXBean
BASE_JMX_PREFIX
-
-
Constructor Summary
Constructors Constructor Description DelegatingSystemReadyMonitorMXBean(SystemReadyMonitorMXBean delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFailureCause()Obtain the cause of aSystemState.FAILURE.SystemStategetSystemState()Obtain current system status as one of few possible enumerated values.-
Methods inherited from class org.opendaylight.infrautils.utils.management.AbstractMXBean
getMBeanCategory, getMBeanName, getMBeanType, invokeMBeanFunction, readMBeanAttribute, register, registerMBean, unregister, unregisterMBean
-
-
-
-
Constructor Detail
-
DelegatingSystemReadyMonitorMXBean
public DelegatingSystemReadyMonitorMXBean(SystemReadyMonitorMXBean delegate)
-
-
Method Detail
-
getSystemState
public SystemState getSystemState()
Description copied from interface:SystemReadyMonitorMXBeanObtain current system status as one of few possible enumerated values.- Specified by:
getSystemStatein interfaceSystemReadyMonitorMXBean
-
getFailureCause
public String getFailureCause()
Description copied from interface:SystemReadyMonitorMXBeanObtain the cause of aSystemState.FAILURE.- Specified by:
getFailureCausein interfaceSystemReadyMonitorMXBean
-
-