Interface MxaccessGateway.ReplayGapOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MxaccessGateway.ReplayGap, MxaccessGateway.ReplayGap.Builder
Enclosing class:
MxaccessGateway

public static interface MxaccessGateway.ReplayGapOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The oldest worker_sequence still retained in the replay ring and available for replay.
    long
    The worker_sequence the client asked to resume after (StreamEventsRequest.after_worker_sequence).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getRequestedAfterSequence

      long getRequestedAfterSequence()
       The worker_sequence the client asked to resume after
       (StreamEventsRequest.after_worker_sequence).
       
      uint64 requested_after_sequence = 1;
      Returns:
      The requestedAfterSequence.
    • getOldestAvailableSequence

      long getOldestAvailableSequence()
       The oldest worker_sequence still retained in the replay ring and available
       for replay. Events with worker_sequence in the open interval
       (requested_after_sequence, oldest_available_sequence) were evicted and are
       unrecoverable. oldest_available_sequence itself IS still retained: a client
       that wishes to resume without incurring another gap MUST set
       after_worker_sequence = oldest_available_sequence - 1 in the next
       StreamEventsRequest, which will cause the server to replay starting at
       oldest_available_sequence (the first retained event).
       
      uint64 oldest_available_sequence = 2;
      Returns:
      The oldestAvailableSequence.