Interface EventProcessorInfo.SegmentStatusOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getCaughtUp()
      Indicates whether the Segment has "Caught Up" with the Head of the Event Stream
      String getErrorState()
      Information about the error state of the Segment, if applicable.
      com.google.protobuf.ByteString getErrorStateBytes()
      Information about the error state of the Segment, if applicable.
      int getOnePartOf()
      The fraction this segment processes.
      boolean getReplaying()
      Indicates whether the Segment is "Replaying" historic events after a Reset.
      int getSegmentId()
      The ID of the Segment for which the status is reported
      long getTokenPosition()
      The approximate position of the token in the stream.
      • 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 Detail

      • getSegmentId

        int getSegmentId()
         The ID of the Segment for which the status is reported 
         
        int32 segment_id = 1;
        Returns:
        The segmentId.
      • getCaughtUp

        boolean getCaughtUp()
         Indicates whether the Segment has "Caught Up" with the Head of the Event Stream 
         
        bool caught_up = 2;
        Returns:
        The caughtUp.
      • getReplaying

        boolean getReplaying()
         Indicates whether the Segment is "Replaying" historic events after a Reset. 
         
        bool replaying = 3;
        Returns:
        The replaying.
      • getOnePartOf

        int getOnePartOf()
         The fraction this segment processes. A fraction of 2 means 1/2, 4 means 1/4, etc.
         
        int32 one_part_of = 4;
        Returns:
        The onePartOf.
      • getTokenPosition

        long getTokenPosition()
         The approximate position of the token in the stream. 
         
        int64 token_position = 5;
        Returns:
        The tokenPosition.
      • getErrorState

        String getErrorState()
         Information about the error state of the Segment, if applicable. 
         
        string error_state = 6;
        Returns:
        The errorState.
      • getErrorStateBytes

        com.google.protobuf.ByteString getErrorStateBytes()
         Information about the error state of the Segment, if applicable. 
         
        string error_state = 6;
        Returns:
        The bytes for errorState.