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 String
getFailureCause()
Obtain the cause of aSystemState.FAILURE
.SystemState
getSystemState()
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:SystemReadyMonitorMXBean
Obtain current system status as one of few possible enumerated values.- Specified by:
getSystemState
in interfaceSystemReadyMonitorMXBean
-
getFailureCause
public String getFailureCause()
Description copied from interface:SystemReadyMonitorMXBean
Obtain the cause of aSystemState.FAILURE
.- Specified by:
getFailureCause
in interfaceSystemReadyMonitorMXBean
-
-