Package io.camunda.zeebe.streamprocessor
Class ProcessingScheduleServiceImpl
java.lang.Object
io.camunda.zeebe.streamprocessor.ProcessingScheduleServiceImpl
- All Implemented Interfaces:
ProcessingScheduleService,AutoCloseable
public class ProcessingScheduleServiceImpl
extends Object
implements ProcessingScheduleService, 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<LogStreamBatchWriter>> writerAsyncSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()open(ActorControl control) voidrunAtFixedRate(Duration delay, Task task) voidrunDelayed(Duration delay, Task task) voidrunDelayed(Duration delay, Runnable followUpTask) <T> voidrunOnCompletion(ActorFuture<T> precedingTask, BiConsumer<T, Throwable> 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.engine.api.ProcessingScheduleService
runAtFixedRate
-
Constructor Details
-
ProcessingScheduleServiceImpl
public ProcessingScheduleServiceImpl(Supplier<StreamProcessor.Phase> streamProcessorPhaseSupplier, BooleanSupplier abortCondition, Supplier<ActorFuture<LogStreamBatchWriter>> writerAsyncSupplier)
-
-
Method Details
-
runDelayed
- Specified by:
runDelayedin interfaceProcessingScheduleService
-
runDelayed
- Specified by:
runDelayedin interfaceProcessingScheduleService
-
runOnCompletion
- Specified by:
runOnCompletionin interfaceProcessingScheduleService
-
runAtFixedRate
- Specified by:
runAtFixedRatein interfaceProcessingScheduleService
-
open
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-