Class Correlator
- java.lang.Object
-
- org.opennms.netmgt.correlation.jmx.Correlator
-
- All Implemented Interfaces:
CorrelatorMBean
,BaseOnmsMBean
public class Correlator extends java.lang.Object implements CorrelatorMBean
-
-
Constructor Summary
Constructors Constructor Description Correlator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatus()
Get the current status of the correlator daemon.java.lang.String
getStatusText()
Get the current status of the correlator.void
init()
Initialization.void
start()
Start the correlator daemon.java.lang.String
status()
Get the current status of the correlator.void
stop()
Stop the correlator daemon.
-
-
-
Method Detail
-
init
public void init()
Initialization. Retrieves the Spring context for the correlator.- Specified by:
init
in interfaceBaseOnmsMBean
-
start
public void start()
Start the correlator daemon.- Specified by:
start
in interfaceBaseOnmsMBean
-
stop
public void stop()
Stop the correlator daemon.- Specified by:
stop
in interfaceBaseOnmsMBean
-
getStatus
public int getStatus()
Get the current status of the correlator daemon.- Specified by:
getStatus
in interfaceBaseOnmsMBean
- Returns:
- The integer constant from
Fiber
that represents the daemon's status.
-
getStatusText
public java.lang.String getStatusText()
Get the current status of the correlator.- Specified by:
getStatusText
in interfaceBaseOnmsMBean
- Returns:
- The status, as text.
-
status
public java.lang.String status()
Get the current status of the correlator.- Specified by:
status
in interfaceBaseOnmsMBean
- Returns:
- The status, as text.
-
-