Class EventProcessorInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.axoniq.axonserver.grpc.control.EventProcessorInfo
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EventProcessorInfoOrBuilder,Serializable
@Generated public final class EventProcessorInfo extends com.google.protobuf.GeneratedMessage implements EventProcessorInfoOrBuilder
Message containing information about the status of an Event Processor
Protobuf typeio.axoniq.axonserver.grpc.control.EventProcessorInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventProcessorInfo.BuilderMessage containing information about the status of an Event Processorstatic classEventProcessorInfo.SegmentStatusMessage containing information about the status of a Segment of a Streaming Event Processorstatic interfaceEventProcessorInfo.SegmentStatusOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_THREADS_FIELD_NUMBERstatic intAVAILABLE_THREADS_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intIS_STREAMING_PROCESSOR_FIELD_NUMBERstatic intLOAD_BALANCING_STRATEGY_NAME_FIELD_NUMBERstatic intMODE_FIELD_NUMBERstatic intPROCESSOR_NAME_FIELD_NUMBERstatic intRUNNING_FIELD_NUMBERstatic intSEGMENT_STATUS_FIELD_NUMBERstatic intTOKEN_STORE_IDENTIFIER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetActiveThreads()The number of threads currently actively processing EventsintgetAvailableThreads()The number of threads the processor has available to assign to Segments.static EventProcessorInfogetDefaultInstance()EventProcessorInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetError()Flag indicating whether the processor, when stopped, did so because of an irrecoverable ErrorbooleangetIsStreamingProcessor()Flag indicating whether the processor is a Streaming Event Processor.StringgetLoadBalancingStrategyName()current load balancing strategy name for the event processorcom.google.protobuf.ByteStringgetLoadBalancingStrategyNameBytes()current load balancing strategy name for the event processorStringgetMode()The mode in which this processor is reading Events, for example: 'Tracking' or 'Subscribing'com.google.protobuf.ByteStringgetModeBytes()The mode in which this processor is reading Events, for example: 'Tracking' or 'Subscribing'com.google.protobuf.Parser<EventProcessorInfo>getParserForType()StringgetProcessorName()The logical name of this processor.com.google.protobuf.ByteStringgetProcessorNameBytes()The logical name of this processor.booleangetRunning()Flag indicating whether the processor is runningEventProcessorInfo.SegmentStatusgetSegmentStatus(int index)Status details of each of the Segments for which Events are being processed.intgetSegmentStatusCount()Status details of each of the Segments for which Events are being processed.List<EventProcessorInfo.SegmentStatus>getSegmentStatusList()Status details of each of the Segments for which Events are being processed.EventProcessorInfo.SegmentStatusOrBuildergetSegmentStatusOrBuilder(int index)Status details of each of the Segments for which Events are being processed.List<? extends EventProcessorInfo.SegmentStatusOrBuilder>getSegmentStatusOrBuilderList()Status details of each of the Segments for which Events are being processed.intgetSerializedSize()StringgetTokenStoreIdentifier()The Token Store Identifier if available.com.google.protobuf.ByteStringgetTokenStoreIdentifierBytes()The Token Store Identifier if available.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static EventProcessorInfo.BuildernewBuilder()static EventProcessorInfo.BuildernewBuilder(EventProcessorInfo prototype)EventProcessorInfo.BuildernewBuilderForType()protected EventProcessorInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static EventProcessorInfoparseDelimitedFrom(InputStream input)static EventProcessorInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorInfoparseFrom(byte[] data)static EventProcessorInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorInfoparseFrom(com.google.protobuf.ByteString data)static EventProcessorInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorInfoparseFrom(com.google.protobuf.CodedInputStream input)static EventProcessorInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorInfoparseFrom(InputStream input)static EventProcessorInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EventProcessorInfoparseFrom(ByteBuffer data)static EventProcessorInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<EventProcessorInfo>parser()EventProcessorInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PROCESSOR_NAME_FIELD_NUMBER
public static final int PROCESSOR_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVE_THREADS_FIELD_NUMBER
public static final int ACTIVE_THREADS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNNING_FIELD_NUMBER
public static final int RUNNING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEGMENT_STATUS_FIELD_NUMBER
public static final int SEGMENT_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVAILABLE_THREADS_FIELD_NUMBER
public static final int AVAILABLE_THREADS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOKEN_STORE_IDENTIFIER_FIELD_NUMBER
public static final int TOKEN_STORE_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_STREAMING_PROCESSOR_FIELD_NUMBER
public static final int IS_STREAMING_PROCESSOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOAD_BALANCING_STRATEGY_NAME_FIELD_NUMBER
public static final int LOAD_BALANCING_STRATEGY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getProcessorName
public String getProcessorName()
The logical name of this processor.
string processor_name = 1;- Specified by:
getProcessorNamein interfaceEventProcessorInfoOrBuilder- Returns:
- The processorName.
-
getProcessorNameBytes
public com.google.protobuf.ByteString getProcessorNameBytes()
The logical name of this processor.
string processor_name = 1;- Specified by:
getProcessorNameBytesin interfaceEventProcessorInfoOrBuilder- Returns:
- The bytes for processorName.
-
getMode
public String getMode()
The mode in which this processor is reading Events, for example: 'Tracking' or 'Subscribing'
string mode = 2;- Specified by:
getModein interfaceEventProcessorInfoOrBuilder- Returns:
- The mode.
-
getModeBytes
public com.google.protobuf.ByteString getModeBytes()
The mode in which this processor is reading Events, for example: 'Tracking' or 'Subscribing'
string mode = 2;- Specified by:
getModeBytesin interfaceEventProcessorInfoOrBuilder- Returns:
- The bytes for mode.
-
getActiveThreads
public int getActiveThreads()
The number of threads currently actively processing Events
int32 active_threads = 3;- Specified by:
getActiveThreadsin interfaceEventProcessorInfoOrBuilder- Returns:
- The activeThreads.
-
getRunning
public boolean getRunning()
Flag indicating whether the processor is running
bool running = 4;- Specified by:
getRunningin interfaceEventProcessorInfoOrBuilder- Returns:
- The running.
-
getError
public boolean getError()
Flag indicating whether the processor, when stopped, did so because of an irrecoverable Error
bool error = 5;- Specified by:
getErrorin interfaceEventProcessorInfoOrBuilder- Returns:
- The error.
-
getSegmentStatusList
public List<EventProcessorInfo.SegmentStatus> getSegmentStatusList()
Status details of each of the Segments for which Events are being processed. This is only provided by Streaming Event Processors.
repeated .io.axoniq.axonserver.grpc.control.EventProcessorInfo.SegmentStatus segment_status = 6;- Specified by:
getSegmentStatusListin interfaceEventProcessorInfoOrBuilder
-
getSegmentStatusOrBuilderList
public List<? extends EventProcessorInfo.SegmentStatusOrBuilder> getSegmentStatusOrBuilderList()
Status details of each of the Segments for which Events are being processed. This is only provided by Streaming Event Processors.
repeated .io.axoniq.axonserver.grpc.control.EventProcessorInfo.SegmentStatus segment_status = 6;- Specified by:
getSegmentStatusOrBuilderListin interfaceEventProcessorInfoOrBuilder
-
getSegmentStatusCount
public int getSegmentStatusCount()
Status details of each of the Segments for which Events are being processed. This is only provided by Streaming Event Processors.
repeated .io.axoniq.axonserver.grpc.control.EventProcessorInfo.SegmentStatus segment_status = 6;- Specified by:
getSegmentStatusCountin interfaceEventProcessorInfoOrBuilder
-
getSegmentStatus
public EventProcessorInfo.SegmentStatus getSegmentStatus(int index)
Status details of each of the Segments for which Events are being processed. This is only provided by Streaming Event Processors.
repeated .io.axoniq.axonserver.grpc.control.EventProcessorInfo.SegmentStatus segment_status = 6;- Specified by:
getSegmentStatusin interfaceEventProcessorInfoOrBuilder
-
getSegmentStatusOrBuilder
public EventProcessorInfo.SegmentStatusOrBuilder getSegmentStatusOrBuilder(int index)
Status details of each of the Segments for which Events are being processed. This is only provided by Streaming Event Processors.
repeated .io.axoniq.axonserver.grpc.control.EventProcessorInfo.SegmentStatus segment_status = 6;- Specified by:
getSegmentStatusOrBuilderin interfaceEventProcessorInfoOrBuilder
-
getAvailableThreads
public int getAvailableThreads()
The number of threads the processor has available to assign to Segments. Will report 0 if all threads are assigned a Segment.
int32 available_threads = 7;- Specified by:
getAvailableThreadsin interfaceEventProcessorInfoOrBuilder- Returns:
- The availableThreads.
-
getTokenStoreIdentifier
public String getTokenStoreIdentifier()
The Token Store Identifier if available. This is only provided by Streaming Event Processors.
string token_store_identifier = 8;- Specified by:
getTokenStoreIdentifierin interfaceEventProcessorInfoOrBuilder- Returns:
- The tokenStoreIdentifier.
-
getTokenStoreIdentifierBytes
public com.google.protobuf.ByteString getTokenStoreIdentifierBytes()
The Token Store Identifier if available. This is only provided by Streaming Event Processors.
string token_store_identifier = 8;- Specified by:
getTokenStoreIdentifierBytesin interfaceEventProcessorInfoOrBuilder- Returns:
- The bytes for tokenStoreIdentifier.
-
getIsStreamingProcessor
public boolean getIsStreamingProcessor()
Flag indicating whether the processor is a Streaming Event Processor. This dictates whether streaming operations, like split and merge, are supported by this processor.
bool is_streaming_processor = 9;- Specified by:
getIsStreamingProcessorin interfaceEventProcessorInfoOrBuilder- Returns:
- The isStreamingProcessor.
-
getLoadBalancingStrategyName
public String getLoadBalancingStrategyName()
current load balancing strategy name for the event processor
string load_balancing_strategy_name = 10;- Specified by:
getLoadBalancingStrategyNamein interfaceEventProcessorInfoOrBuilder- Returns:
- The loadBalancingStrategyName.
-
getLoadBalancingStrategyNameBytes
public com.google.protobuf.ByteString getLoadBalancingStrategyNameBytes()
current load balancing strategy name for the event processor
string load_balancing_strategy_name = 10;- Specified by:
getLoadBalancingStrategyNameBytesin interfaceEventProcessorInfoOrBuilder- Returns:
- The bytes for loadBalancingStrategyName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EventProcessorInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventProcessorInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventProcessorInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventProcessorInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventProcessorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventProcessorInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventProcessorInfo parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EventProcessorInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EventProcessorInfo parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EventProcessorInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EventProcessorInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EventProcessorInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EventProcessorInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EventProcessorInfo.Builder newBuilder()
-
newBuilder
public static EventProcessorInfo.Builder newBuilder(EventProcessorInfo prototype)
-
toBuilder
public EventProcessorInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EventProcessorInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static EventProcessorInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EventProcessorInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<EventProcessorInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public EventProcessorInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-