Package io.axoniq.axonserver.grpc.admin
Interface EventProcessorSegmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EventProcessorSegment,EventProcessorSegment.Builder
@Generated public interface EventProcessorSegmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClaimedBy()the id of the client that claimed the segmentcom.google.protobuf.ByteStringgetClaimedByBytes()the id of the client that claimed the segmentStringgetError()the error description, if the segment is in errorcom.google.protobuf.ByteStringgetErrorBytes()the error description, if the segment is in errorintgetId()the identifier of the segmentbooleangetIsCaughtUp()true if the segment has ever reached the head of the stream since it was started, false otherwisebooleangetIsInError()true if the segment is in an error loop, false otherwisebooleangetIsReplaying()true if the segment is replaying, false otherwiseintgetOnePartOf()the fractional unit representing the size of the segmentlonggetTokenPosition()the approximate position of the token-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
int getId()
the identifier of the segment
int32 id = 1;- Returns:
- The id.
-
getOnePartOf
int getOnePartOf()
the fractional unit representing the size of the segment
int32 one_part_of = 2;- Returns:
- The onePartOf.
-
getClaimedBy
String getClaimedBy()
the id of the client that claimed the segment
string claimed_by = 3;- Returns:
- The claimedBy.
-
getClaimedByBytes
com.google.protobuf.ByteString getClaimedByBytes()
the id of the client that claimed the segment
string claimed_by = 3;- Returns:
- The bytes for claimedBy.
-
getIsCaughtUp
boolean getIsCaughtUp()
true if the segment has ever reached the head of the stream since it was started, false otherwise
bool is_caughtUp = 4;- Returns:
- The isCaughtUp.
-
getIsReplaying
boolean getIsReplaying()
true if the segment is replaying, false otherwise
bool is_replaying = 5;- Returns:
- The isReplaying.
-
getTokenPosition
long getTokenPosition()
the approximate position of the token
int64 token_position = 6;- Returns:
- The tokenPosition.
-
getIsInError
boolean getIsInError()
true if the segment is in an error loop, false otherwise
bool is_in_error = 7;- Returns:
- The isInError.
-
getError
String getError()
the error description, if the segment is in error
string error = 8;- Returns:
- The error.
-
getErrorBytes
com.google.protobuf.ByteString getErrorBytes()
the error description, if the segment is in error
string error = 8;- Returns:
- The bytes for error.
-
-