|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.monitoring.core.sampler.ScheduledSamplerJob
public class ScheduledSamplerJob
Constructor Summary | |
---|---|
ScheduledSamplerJob(IMonitoringController monitoringController,
ISampler sensor)
Constructs a new ScheduledSamplerJob with the given parameters. |
Method Summary | |
---|---|
java.util.concurrent.ScheduledFuture<?> |
getFuture()
|
void |
run()
Throws a RuntimeException if an error occurred. |
void |
setFuture(java.util.concurrent.ScheduledFuture<?> future)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScheduledSamplerJob(IMonitoringController monitoringController, ISampler sensor)
ScheduledSamplerJob
with the given parameters.
monitoringController
- used to log the sampled data (represented as IMonitoringRecord
s) via
IWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord)
.sensor
- sampler to be trigger via ISampler.sample(IMonitoringController)
Method Detail |
---|
public final void run() throws java.lang.RuntimeException
RuntimeException
if an error occurred.
run
in interface java.lang.Runnable
java.lang.RuntimeException
public void setFuture(java.util.concurrent.ScheduledFuture<?> future)
future
- The new future object.public java.util.concurrent.ScheduledFuture<?> getFuture()
ScheduledFuture
which allows to cancel future
executions of this ScheduledSamplerJob
.
|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |