public interface ISamplingController
| Modifier and Type | Method and Description |
|---|---|
boolean |
removeScheduledSampler(ScheduledSamplerJob sampler)
Stops future executions of the given periodic
ScheduledSamplerJob . |
ScheduledSamplerJob |
schedulePeriodicSampler(ISampler sampler,
long initialDelay,
long period,
java.util.concurrent.TimeUnit timeUnit)
Schedules the given
ISampler with given initial delay, and period. |
ScheduledSamplerJob schedulePeriodicSampler(ISampler sampler, long initialDelay, long period, java.util.concurrent.TimeUnit timeUnit)
ISampler with given initial delay, and period.sampler - The sampler to schedule.initialDelay - The initial delay.period - The period.timeUnit - The time unit which determines how to interpret the given parameter.ScheduledSamplerJob as a handler for removing the scheduled sampler later on by using the method
removeScheduledSampler(ScheduledSamplerJob).boolean removeScheduledSampler(ScheduledSamplerJob sampler)
ScheduledSamplerJob .sampler - The sampler to be removed.Copyright 2020 Kieker Project, http://kieker-monitoring.net