|
Kieker 1.3 | |||||||||
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.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 |
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()
|
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()
toString
in class AbstractController
public final boolean terminateMonitoring()
IStateController
terminateMonitoring
in interface IStateController
IStateController.isMonitoringTerminated()
public final boolean isMonitoringTerminated()
IStateController
isMonitoringTerminated
in interface IStateController
IStateController.terminateMonitoring()
public final boolean enableMonitoring()
IStateController
enableMonitoring
in interface IStateController
public final boolean disableMonitoring()
IStateController
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()
IStateController
incExperimentId
in interface IStateController
public final void setExperimentId(int newExperimentID)
IStateController
setExperimentId
in interface IStateController
public final int getExperimentId()
IStateController
getExperimentId
in interface IStateController
public final boolean newMonitoringRecord(IMonitoringRecord record)
IMonitoringRecordReceiver
newMonitoringRecord
in interface IMonitoringRecordReceiver
newMonitoringRecord
in interface IWriterController
record
- the record.
public final long getNumberOfInserts()
IWriterController
getNumberOfInserts
in interface IWriterController
public final ScheduledSamplerJob schedulePeriodicSampler(ISampler sampler, long initialDelay, long period, TimeUnit timeUnit)
ISamplingController
ISampler
with given initial delay, and period.
schedulePeriodicSampler
in interface ISamplingController
public final boolean removeScheduledSampler(ScheduledSamplerJob sampler)
ISamplingController
ScheduledSamplerJob
.
removeScheduledSampler
in interface ISamplingController
public final ITimeSource getTimeSource()
ITimeSourceController
getTimeSource
in interface ITimeSourceController
public static final IMonitoringController getInstance()
|
Kieker 1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |