Kieker 1.5

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

Method Summary
 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.
 

Method Detail

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

Kieker 1.5

Copyright 2012 the Kieker Project, http://kieker-monitoring.net