Interface ReadonlyProcessingContext
- All Known Implementing Classes:
ProcessingContext
public interface ReadonlyProcessingContext
-
Method Summary
-
Method Details
-
getActor
ActorControl getActor()- Returns:
- the actor on which the processing runs
-
getLogStream
LogStream getLogStream()- Returns:
- the logstream, on which the processor runs
-
getLogStreamReader
LogStreamReader getLogStreamReader()- Returns:
- the reader, which is used by the processor to read next events
-
getMaxFragmentSize
int getMaxFragmentSize()- Returns:
- the maximum fragment size we can write and read this contains the record metadata and record value etc.
-
getLogStreamWriter
TypedStreamWriter getLogStreamWriter()- Returns:
- the actual log stream writer, used to write any record
-
getWriters
Writers getWriters()- Returns:
- the specific writers, like command, response, etc
-
getRecordValues
RecordValues getRecordValues()- Returns:
- the pool, which contains the mapping from ValueType to UnpackedObject (record)
-
getRecordProcessorMap
RecordProcessorMap getRecordProcessorMap()- Returns:
- the map of processors, which are executed during processing
-
getZeebeState
MutableZeebeState getZeebeState()- Returns:
- the state, where the data is stored during processing
-
getTransactionContext
TransactionContext getTransactionContext()- Returns:
- the transaction context for the current actor
-
getAbortCondition
BooleanSupplier getAbortCondition()- Returns:
- condition which indicates, whether the processing should stop or not
-
getEventApplier
EventApplier getEventApplier()- Returns:
- the consumer of events to apply their state changes
-