Package io.camunda.zeebe.stream.impl
Class ProcessingScheduleServiceImpl
java.lang.Object
io.camunda.zeebe.stream.impl.ProcessingScheduleServiceImpl
- All Implemented Interfaces:
SimpleProcessingScheduleService,AutoCloseable
public class ProcessingScheduleServiceImpl
extends Object
implements SimpleProcessingScheduleService, AutoCloseable
Here the implementation is just a suggestion to amke the engine abstraction work. Can be whatever
PDT team thinks is best to work with
-
Constructor Summary
ConstructorsConstructorDescriptionProcessingScheduleServiceImpl(Supplier<StreamProcessor.Phase> streamProcessorPhaseSupplier, BooleanSupplier abortCondition, Supplier<ActorFuture<LogStreamWriter>> writerAsyncSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()open(ActorControl control) voidrunAtFixedRate(Duration delay, Task task) voidrunDelayed(Duration delay, Task task) voidrunDelayed(Duration delay, Runnable followUpTask) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.stream.api.scheduling.SimpleProcessingScheduleService
runAtFixedRate
-
Constructor Details
-
ProcessingScheduleServiceImpl
public ProcessingScheduleServiceImpl(Supplier<StreamProcessor.Phase> streamProcessorPhaseSupplier, BooleanSupplier abortCondition, Supplier<ActorFuture<LogStreamWriter>> writerAsyncSupplier)
-
-
Method Details
-
runDelayed
- Specified by:
runDelayedin interfaceSimpleProcessingScheduleService
-
runDelayed
- Specified by:
runDelayedin interfaceSimpleProcessingScheduleService
-
runAtFixedRate
- Specified by:
runAtFixedRatein interfaceSimpleProcessingScheduleService
-
open
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-