Interface ReadonlyProcessingContext

  • All Known Implementing Classes:
    ProcessingContext

    public interface ReadonlyProcessingContext
    • Method Detail

      • getActor

        ActorControl getActor()
        Returns:
        the actor on which the processing runs
      • getEventFilter

        EventFilter getEventFilter()
        Returns:
        the filter, which is used to filter for events
      • 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 writer, which is used by the processor to write follow up events
      • 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

        ZeebeState getZeebeState()
        Returns:
        the state, where the data is stored during processing
      • getDbContext

        DbContext getDbContext()
        Returns:
        the database context for the current actor
      • getCommandResponseWriter

        CommandResponseWriter getCommandResponseWriter()
        Returns:
        the response writer, which is used during processing
      • getAbortCondition

        BooleanSupplier getAbortCondition()
        Returns:
        condition which indicates, whether the processing should stop or not