public static class SimpleQueryUpdateEmitter.Builder extends Object
SimpleQueryUpdateEmitter
.
The MessageMonitor
is defaulted to a NoOpMessageMonitor
.
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SimpleQueryUpdateEmitter |
build()
Initializes a
SimpleQueryUpdateEmitter as specified through this Builder. |
SimpleQueryUpdateEmitter.Builder |
updateMessageMonitor(MessageMonitor<? super SubscriptionQueryUpdateMessage<?>> updateMessageMonitor)
Sets the
MessageMonitor used to monitor SubscriptionQueryUpdateMessage s being processed. |
protected void |
validate()
Validates whether the fields contained in this Builder are set accordingly.
|
public SimpleQueryUpdateEmitter.Builder updateMessageMonitor(MessageMonitor<? super SubscriptionQueryUpdateMessage<?>> updateMessageMonitor)
MessageMonitor
used to monitor SubscriptionQueryUpdateMessage
s being processed.
Defaults to a NoOpMessageMonitor
.updateMessageMonitor
- the MessageMonitor
used to monitor SubscriptionQueryUpdateMessage
s
being processedpublic SimpleQueryUpdateEmitter build()
SimpleQueryUpdateEmitter
as specified through this Builder.SimpleQueryUpdateEmitter
as specified through this Builderprotected void validate() throws AxonConfigurationException
AxonConfigurationException
- if one field is asserted to be incorrect according to the Builder's
specificationsCopyright © 2010–2018. All rights reserved.