public interface IStateController
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
boolean terminateMonitoring()
isMonitoringTerminated()
boolean isMonitoringTerminated()
terminateMonitoring()
boolean enableMonitoring()
boolean disableMonitoring()
boolean isMonitoringEnabled()
disableMonitoring()
,
enableMonitoring()
java.lang.String getName()
java.lang.String getHostname()
int incExperimentId()
void setExperimentId(int newExperimentID)
newExperimentID
- The new ID.int getExperimentId()
boolean isDebug()
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.
Copyright 2017 Kieker Project, http://kieker-monitoring.net