Class ReplayStateMachine
java.lang.Object
io.camunda.zeebe.engine.processing.streamprocessor.ReplayStateMachine
- All Implemented Interfaces:
LogRecordAwaiter
Represents the state machine to replay events and rebuild the state.
-
Constructor Summary
ConstructorsConstructorDescriptionReplayStateMachine
(ProcessingContext context, BooleanSupplier shouldReplayNext) -
Method Summary
-
Constructor Details
-
ReplayStateMachine
-
-
Method Details
-
onRecordAvailable
public void onRecordAvailable()- Specified by:
onRecordAvailable
in interfaceLogRecordAwaiter
-
getLastSourceEventPosition
public long getLastSourceEventPosition() -
getLastReplayedEventPosition
public long getLastReplayedEventPosition() -
close
public void close()
-