public class DutyCycle extends Object
| Constructor and Description |
|---|
DutyCycle(SequencerStep sequencerStep,
CommandPollerStep commandPollerStep,
EventPollerStep eventPollerStep) |
| Modifier and Type | Method and Description |
|---|---|
StoppableThread |
start(IdleStrategy idleStrategy,
ExceptionHandler exceptionHandler,
ThreadFactory threadFactory)
Creates, starts and returns a new thread running a loop with the duty cycle steps.
|
public DutyCycle(SequencerStep sequencerStep, CommandPollerStep commandPollerStep, EventPollerStep eventPollerStep)
public StoppableThread start(IdleStrategy idleStrategy, ExceptionHandler exceptionHandler, ThreadFactory threadFactory)
idleStrategy - the strategy handling idle loop phasesexceptionHandler - the step exception handlerthreadFactory - the factory to provide the service threadCopyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.