kieker.monitoring.core.controller
Class SamplingController
java.lang.Object
kieker.monitoring.core.controller.AbstractController
kieker.monitoring.core.controller.SamplingController
- All Implemented Interfaces:
- ISamplingController
public final class SamplingController
- extends AbstractController
- implements ISamplingController
- Author:
- Andre van Hoorn, Jan Waller
toString
public final String toString()
- Specified by:
toString
in class AbstractController
schedulePeriodicSampler
public final ScheduledSamplerJob schedulePeriodicSampler(ISampler sensor,
long initialDelay,
long period,
TimeUnit timeUnit)
- Description copied from interface:
ISamplingController
- Schedules the given
ISampler
with given initial delay, and period.
- Specified by:
schedulePeriodicSampler
in interface ISamplingController
- Returns:
removeScheduledSampler
public final boolean removeScheduledSampler(ScheduledSamplerJob sensorJob)
- Description copied from interface:
ISamplingController
- Stops future executions of the given periodic
ScheduledSamplerJob
.
- Specified by:
removeScheduledSampler
in interface ISamplingController
- Returns:
- true if the sensor is not registered
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>