Kieker 1.3

kieker.monitoring.core.controller
Class SamplingController

java.lang.Object
  extended by kieker.monitoring.core.controller.AbstractController
      extended by kieker.monitoring.core.controller.SamplingController
All Implemented Interfaces:
ISamplingController

public final class SamplingController
extends AbstractController
implements ISamplingController

Author:
Andre van Hoorn, Jan Waller

Method Summary
 boolean removeScheduledSampler(ScheduledSamplerJob sensorJob)
          Stops future executions of the given periodic ScheduledSamplerJob.
 ScheduledSamplerJob schedulePeriodicSampler(ISampler sensor, long initialDelay, long period, TimeUnit timeUnit)
          Schedules the given ISampler with given initial delay, and period.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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

Kieker 1.3

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net