Package io.camunda.zeebe.streamprocessor
Class ProcessingScheduleServiceImpl
java.lang.Object
io.camunda.zeebe.streamprocessor.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
ConstructorDescriptionProcessingScheduleServiceImpl
(Supplier<StreamProcessor.Phase> streamProcessorPhaseSupplier, BooleanSupplier abortCondition, Supplier<ActorFuture<LogStreamBatchWriter>> writerAsyncSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
open
(ActorControl control) void
runAtFixedRate
(Duration delay, Task task) void
runDelayed
(Duration delay, Task task) void
runDelayed
(Duration delay, Runnable followUpTask) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.camunda.zeebe.engine.api.SimpleProcessingScheduleService
runAtFixedRate
-
Constructor Details
-
ProcessingScheduleServiceImpl
public ProcessingScheduleServiceImpl(Supplier<StreamProcessor.Phase> streamProcessorPhaseSupplier, BooleanSupplier abortCondition, Supplier<ActorFuture<LogStreamBatchWriter>> writerAsyncSupplier)
-
-
Method Details
-
runDelayed
- Specified by:
runDelayed
in interfaceSimpleProcessingScheduleService
-
runDelayed
- Specified by:
runDelayed
in interfaceSimpleProcessingScheduleService
-
runAtFixedRate
- Specified by:
runAtFixedRate
in interfaceSimpleProcessingScheduleService
-
open
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-