|
Kieker 1.4 | |||||||||
| 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.MonitoringController
public final class MonitoringController
| Method Summary | |
|---|---|
static IMonitoringController |
createInstance(Configuration configuration)
|
boolean |
disableMonitoring()
Disables monitoring. |
boolean |
enableMonitoring()
Enables monitoring. |
int |
getExperimentId()
Returns the experiment ID. |
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. |
static IMonitoringController |
getInstance()
|
String |
getJMXDomain()
|
String |
getName()
Returns the name of this controller. |
long |
getNumberOfInserts()
Shows how many inserts have been performed since last restart of the execution environment. |
ITimeSource |
getTimeSource()
Returns the ITimeSource used in this controller. |
static String |
getVersion()
Return the version name of this controller instance. |
int |
incExperimentId()
Increments the experiment ID by 1 and returns the new value. |
boolean |
isMonitoringEnabled()
Returns whether monitoring is enabled or disabled/terminated. |
boolean |
isMonitoringTerminated()
Returns whether monitoring is permanently terminated. |
boolean |
newMonitoringRecord(IMonitoringRecord record)
Called for each new record. |
boolean |
removeScheduledSampler(ScheduledSamplerJob sampler)
Stops future executions of the given periodic ScheduledSamplerJob . |
ScheduledSamplerJob |
schedulePeriodicSampler(ISampler sampler,
long initialDelay,
long period,
TimeUnit timeUnit)
Schedules the given ISampler with given initial delay, and
period. |
void |
setExperimentId(int newExperimentID)
Sets the experiment ID to the given value. |
boolean |
terminateMonitoring()
Permanently terminates monitoring |
String |
toString()
This method is used to log the status of the controllers to the console. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static final IMonitoringController createInstance(Configuration configuration)
public static final String getVersion()
public final String toString()
IJMXController
toString in interface IJMXControllertoString in class AbstractControllerpublic final boolean terminateMonitoring()
IStateController
terminateMonitoring in interface IStateControllerIStateController.isMonitoringTerminated()public final boolean isMonitoringTerminated()
IStateController
isMonitoringTerminated in interface IStateControllerIStateController.terminateMonitoring()public final boolean enableMonitoring()
IStateController
enableMonitoring in interface IStateControllerpublic final boolean disableMonitoring()
IStateController
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()
IStateController
incExperimentId in interface IStateControllerpublic final void setExperimentId(int newExperimentID)
IStateController
setExperimentId in interface IStateControllerpublic final int getExperimentId()
IStateController
getExperimentId in interface IStateControllerpublic final boolean newMonitoringRecord(IMonitoringRecord record)
IMonitoringRecordReceiver
newMonitoringRecord in interface IMonitoringRecordReceivernewMonitoringRecord in interface IWriterControllerrecord - the record.
public final long getNumberOfInserts()
IWriterController
getNumberOfInserts in interface IWriterController
public final ScheduledSamplerJob schedulePeriodicSampler(ISampler sampler,
long initialDelay,
long period,
TimeUnit timeUnit)
ISamplingControllerISampler with given initial delay, and
period.
schedulePeriodicSampler in interface ISamplingControllerScheduledSamplerJob as a handler for removing the
scheduled sampler later on by using the method ISamplingController.removeScheduledSampler(ScheduledSamplerJob).public final boolean removeScheduledSampler(ScheduledSamplerJob sampler)
ISamplingControllerScheduledSamplerJob .
removeScheduledSampler in interface ISamplingControllerpublic final ITimeSource getTimeSource()
ITimeSourceController
getTimeSource in interface ITimeSourceControllerpublic String getJMXDomain()
getJMXDomain in interface IJMXControllerpublic static final IMonitoringController getInstance()
|
Kieker 1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||