Interface RecordingSignalConsumer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RecordingSignalConsumer
Consumer of signals representing operations applied to a recording.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onSignal(long controlSessionId, long correlationId, long recordingId, long subscriptionId, long position, io.aeron.archive.codecs.RecordingSignal signal)
    Signal of operation taken on a recording.
  • Method Details

    • onSignal

      void onSignal(long controlSessionId, long correlationId, long recordingId, long subscriptionId, long position, io.aeron.archive.codecs.RecordingSignal signal)
      Signal of operation taken on a recording.
      Parameters:
      controlSessionId - that initiated the operation.
      correlationId - that initiated the operation, could be the replication id.
      recordingId - which has signalled.
      subscriptionId - of the Subscription associated with the recording.
      position - of the recorded stream at the point of signal.
      signal - type of the operation applied to the recording.