Package | Description |
---|---|
org.axonframework.axonserver.connector.query | |
org.axonframework.springboot.autoconfig |
Modifier and Type | Method and Description |
---|---|
static QueryPriorityCalculator |
QueryPriorityCalculator.defaultQueryPriorityCalculator()
Returns a default implementation of the
QueryPriorityCalculator , always returning priority 0 . |
Modifier and Type | Method and Description |
---|---|
AxonServerQueryBus.Builder |
AxonServerQueryBus.Builder.priorityCalculator(QueryPriorityCalculator priorityCalculator)
Sets the
QueryPriorityCalculator used to deduce the priority of an incoming query among other
queries, to give precedence over high(er) valued queries for example. |
Constructor and Description |
---|
AxonServerQueryBus(AxonServerConnectionManager axonServerConnectionManager,
AxonServerConfiguration configuration,
QueryUpdateEmitter updateEmitter,
QueryBus localSegment,
Serializer messageSerializer,
Serializer genericSerializer,
QueryPriorityCalculator priorityCalculator)
Deprecated.
in favor of using the
AxonServerQueryBus.Builder (with the convenience AxonServerQueryBus.builder() method) to instantiate
an Axon Server Query Bus |
AxonServerQueryBus(AxonServerConnectionManager axonServerConnectionManager,
AxonServerConfiguration configuration,
QueryUpdateEmitter updateEmitter,
QueryBus localSegment,
Serializer messageSerializer,
Serializer genericSerializer,
QueryPriorityCalculator priorityCalculator,
TargetContextResolver<? super QueryMessage<?,?>> targetContextResolver)
Deprecated.
in favor of using the
AxonServerQueryBus.Builder (with the convenience AxonServerQueryBus.builder() method) to instantiate
an Axon Server Query Bus |
Modifier and Type | Method and Description |
---|---|
QueryPriorityCalculator |
AxonServerAutoConfiguration.queryPriorityCalculator() |
Modifier and Type | Method and Description |
---|---|
AxonServerQueryBus |
AxonServerAutoConfiguration.queryBus(AxonServerConnectionManager axonServerConnectionManager,
AxonServerConfiguration axonServerConfiguration,
AxonConfiguration axonConfiguration,
TransactionManager txManager,
Serializer messageSerializer,
Serializer genericSerializer,
QueryPriorityCalculator priorityCalculator,
QueryInvocationErrorHandler queryInvocationErrorHandler,
TargetContextResolver<? super QueryMessage<?,?>> targetContextResolver) |
Copyright © 2010–2020. All rights reserved.