kieker.monitoring.core.controller
Interface ISamplingController
- All Known Subinterfaces:
- IMonitoringController
- All Known Implementing Classes:
- MonitoringController, SamplingController
public interface ISamplingController
- Author:
- Andre van Hoorn, Jan Waller
schedulePeriodicSampler
ScheduledSamplerJob schedulePeriodicSampler(ISampler sampler,
long initialDelay,
long period,
TimeUnit timeUnit)
- Schedules the given
ISampler
with given initial delay, and
period.
- Parameters:
sampler
- initialDelay
- period
- timeUnit
-
- Returns:
- a
ScheduledSamplerJob
as a handler for removing the
scheduled sampler later on by using the method removeScheduledSampler(ScheduledSamplerJob)
.
removeScheduledSampler
boolean removeScheduledSampler(ScheduledSamplerJob sampler)
- Stops future executions of the given periodic
ScheduledSamplerJob
.
- Parameters:
sampler
-
- Returns:
- true if the sensor is not registered
Copyright 2012 Kieker Project, http://kieker-monitoring.net