|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.monitoring.core.controller.AbstractController kieker.monitoring.core.controller.StateController
public final class StateController
Field Summary |
---|
Fields inherited from class kieker.monitoring.core.controller.AbstractController |
---|
monitoringController |
Constructor Summary | |
---|---|
protected |
StateController(Configuration configuration)
Creates a new instance of this class using the given parameter. |
Method Summary | |
---|---|
protected void |
cleanup()
This method should clean up. |
boolean |
disableMonitoring()
Disables monitoring. |
boolean |
enableMonitoring()
Enables monitoring. |
int |
getExperimentId()
|
java.lang.String |
getHostname()
The hostname will be part of the monitoring data and allows to distinguish observations in cases where the software system is deployed on more than one host. |
java.lang.String |
getName()
Returns the name of this controller. |
int |
incExperimentId()
Increments the experiment ID by 1 and returns the new value. |
protected void |
init()
This method should to the initialization work. |
boolean |
isDebug()
Is the debug mode enabled? |
boolean |
isMonitoringEnabled()
Returns whether monitoring is enabled or disabled/terminated. |
boolean |
isMonitoringTerminated()
Returns whether monitoring is permanently terminated. |
void |
setExperimentId(int newExperimentID)
Sets the experiment ID to the given value. |
boolean |
terminateMonitoring()
Permanently terminates monitoring. |
java.lang.String |
toString()
|
Methods inherited from class kieker.monitoring.core.controller.AbstractController |
---|
createAndInitialize, isTerminated, setMonitoringController, terminate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected StateController(Configuration configuration)
configuration
- The configuration which will be used to initialize the controller.Method Detail |
---|
protected final void init()
AbstractController
init
in class AbstractController
protected final void cleanup()
AbstractController
cleanup
in class AbstractController
public final java.lang.String toString()
toString
in class AbstractController
public final boolean terminateMonitoring()
terminateMonitoring
in interface IStateController
IStateController.isMonitoringTerminated()
public final boolean isMonitoringTerminated()
IStateController
isMonitoringTerminated
in interface IStateController
IStateController.terminateMonitoring()
public final boolean enableMonitoring()
enableMonitoring
in interface IStateController
public final boolean disableMonitoring()
disableMonitoring
in interface IStateController
public final boolean isMonitoringEnabled()
IStateController
isMonitoringEnabled
in interface IStateController
IStateController.disableMonitoring()
,
IStateController.enableMonitoring()
public final java.lang.String getName()
IStateController
getName
in interface IStateController
public final java.lang.String getHostname()
IStateController
getHostname
in interface IStateController
public final int incExperimentId()
incExperimentId
in interface IStateController
public final void setExperimentId(int newExperimentID)
setExperimentId
in interface IStateController
newExperimentID
- The new ID.public final int getExperimentId()
getExperimentId
in interface IStateController
public final boolean isDebug()
IStateController
Debug mode is for internal use only and changes a few internal id generation mechanisms to enable easier debugging. Additionally, it is possible to enable debug logging in the settings of the used logger.
isDebug
in interface IStateController
|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |