Interface RecordingDescriptorConsumer

All Known Subinterfaces:
ControlResponseListener
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 RecordingDescriptorConsumer
Consumer of events describing Aeron stream recordings.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onRecordingDescriptor(long controlSessionId, long correlationId, long recordingId, long startTimestamp, long stopTimestamp, long startPosition, long stopPosition, int initialTermId, int segmentFileLength, int termBufferLength, int mtuLength, int sessionId, int streamId, String strippedChannel, String originalChannel, String sourceIdentity)
    A recording descriptor returned as a result of requesting a listing of recordings.
  • Method Details

    • onRecordingDescriptor

      void onRecordingDescriptor(long controlSessionId, long correlationId, long recordingId, long startTimestamp, long stopTimestamp, long startPosition, long stopPosition, int initialTermId, int segmentFileLength, int termBufferLength, int mtuLength, int sessionId, int streamId, String strippedChannel, String originalChannel, String sourceIdentity)
      A recording descriptor returned as a result of requesting a listing of recordings.
      Parameters:
      controlSessionId - of the originating session requesting to list recordings.
      correlationId - of the associated request to list recordings.
      recordingId - of this recording descriptor.
      startTimestamp - of the recording.
      stopTimestamp - of the recording.
      startPosition - of the recording against the recorded publication, the Image.joinPosition().
      stopPosition - reached for the recording, final position for Image.position().
      initialTermId - of the recorded stream, Image.initialTermId().
      segmentFileLength - of the recording which is a multiple of termBufferLength.
      termBufferLength - of the recorded stream, Image.termBufferLength().
      mtuLength - of the recorded stream, Image.mtuLength().
      sessionId - of the recorded stream, this will be the most recent session id for extended recordings.
      streamId - of the recorded stream, Subscription.streamId().
      strippedChannel - of the recorded stream which is used for the recording subscription in the archive.
      originalChannel - of the recorded stream provided to the start recording request, Subscription.channel().
      sourceIdentity - of the recorded stream, the Image.sourceIdentity().