Interface EventProcessorInfo.SegmentStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EventProcessorInfo.SegmentStatus,EventProcessorInfo.SegmentStatus.Builder
- Enclosing class:
- EventProcessorInfo
public static interface EventProcessorInfo.SegmentStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetCaughtUp()Indicates whether the Segment has "Caught Up" with the Head of the Event StreamStringgetErrorState()Information about the error state of the Segment, if applicable.com.google.protobuf.ByteStringgetErrorStateBytes()Information about the error state of the Segment, if applicable.intgetOnePartOf()The fraction this segment processes.booleangetReplaying()Indicates whether the Segment is "Replaying" historic events after a Reset.intgetSegmentId()The ID of the Segment for which the status is reportedlonggetTokenPosition()The approximate position of the token in the stream.-
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.
-
-