public class RecordWorker extends AbstractImmediateWorker
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_NO_OF_CYCLES |
protected int |
noOfCycles |
ALWAYS_WAIT_FOR_TRIGGER_NEXT_RUN, DO_NOT_WAIT
Constructor and Description |
---|
RecordWorker(Rrd4jTimedataImpl parent) |
Modifier and Type | Method and Description |
---|---|
void |
collectData()
Collects the data from Channels.
|
protected void |
forever()
This method is called in a loop forever until the Thread gets interrupted.
|
void |
setNoOfCycles(int noOfCycles) |
activate, deactivate, getCycleTime
triggerNextRun
protected static final int DEFAULT_NO_OF_CYCLES
protected int noOfCycles
public RecordWorker(Rrd4jTimedataImpl parent)
public void collectData()
protected void forever() throws java.lang.InterruptedException
AbstractWorker
forever
in class AbstractImmediateWorker
java.lang.InterruptedException
public void setNoOfCycles(int noOfCycles)