|
Kieker 1.9 | |||||||||
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
Method Summary | |
---|---|
boolean |
disableMonitoring()
Disables monitoring. |
boolean |
enableMonitoring()
Enables monitoring. |
int |
getExperimentId()
|
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. |
String |
getName()
Returns the name of this controller. |
int |
incExperimentId()
Increments the experiment ID by 1 and returns the new value. |
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final 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 String getName()
IStateController
getName
in interface IStateController
public final 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.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |