|
Kieker 1.10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.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 AbstractControllerpublic final boolean terminateMonitoring()
terminateMonitoring in interface IStateControllerIStateController.isMonitoringTerminated()public final boolean isMonitoringTerminated()
IStateController
isMonitoringTerminated in interface IStateControllerIStateController.terminateMonitoring()public final boolean enableMonitoring()
enableMonitoring in interface IStateControllerpublic final boolean disableMonitoring()
disableMonitoring in interface IStateControllerpublic final boolean isMonitoringEnabled()
IStateController
isMonitoringEnabled in interface IStateControllerIStateController.disableMonitoring(),
IStateController.enableMonitoring()public final String getName()
IStateController
getName in interface IStateControllerpublic final String getHostname()
IStateController
getHostname in interface IStateControllerpublic final int incExperimentId()
incExperimentId in interface IStateControllerpublic final void setExperimentId(int newExperimentID)
setExperimentId in interface IStateControllernewExperimentID - The new ID.public final int getExperimentId()
getExperimentId in interface IStateControllerpublic final boolean isDebug()
IStateControllerDebug 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.10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||