public class GrpcEventProcessorInfoSource extends Object implements EventProcessorInfoSource
EventProcessorInfoSource
that send EventProcessor
's status to Axon Server using
gRPC messages.Constructor and Description |
---|
GrpcEventProcessorInfoSource(EventProcessingConfiguration eventProcessingConfiguration,
AxonServerConnectionManager axonServerConnectionManager)
Instantiate a
EventProcessorInfoSource which can send EventProcessor status info to Axon Server. |
Modifier and Type | Method and Description |
---|---|
void |
notifyInformation() |
public GrpcEventProcessorInfoSource(EventProcessingConfiguration eventProcessingConfiguration, AxonServerConnectionManager axonServerConnectionManager)
EventProcessorInfoSource
which can send EventProcessor
status info to Axon Server.
It uses the given EventProcessingConfiguration
to retrieve all the EventProcessor instances and the
provided AxonServerConnectionManager
to send message to Axon Server.eventProcessingConfiguration
- the EventProcessingConfiguration
from which the existing
EventProcessor
instances are retrievedaxonServerConnectionManager
- the AxonServerConnectionManager
used to send message to Axon Serverpublic void notifyInformation()
notifyInformation
in interface EventProcessorInfoSource
Copyright © 2010–2019. All rights reserved.