Uses of Class
org.axonframework.messaging.queryhandling.distributed.DistributedQueryBusConfiguration
Packages that use DistributedQueryBusConfiguration
Package
Description
Part of the Axon Messaging module.
-
Uses of DistributedQueryBusConfiguration in org.axonframework.messaging.queryhandling.distributed
Methods in org.axonframework.messaging.queryhandling.distributed that return DistributedQueryBusConfigurationModifier and TypeMethodDescriptionDistributedQueryBusConfiguration.preferLocalQueryHandler(boolean preferLocalQueryHandler) Configures whether the distributed query bus should use local query handlers directly when available, bypassing remote dispatch.DistributedQueryBusConfiguration.queryExecutorService(ExecutorService executorService) Sets theExecutorServiceto use for querying in the distributed query bus.DistributedQueryBusConfiguration.queryQueueCapacity(int queryQueueCapacity) Sets the capacity of the priority queue used for query processing tasks.DistributedQueryBusConfiguration.queryThreads(int queryThreads) Registers an Executor Service that uses a thread pool with the given amount ofqueryThreads.Constructors in org.axonframework.messaging.queryhandling.distributed with parameters of type DistributedQueryBusConfigurationModifierConstructorDescriptionDistributedQueryBus(QueryBus localSegment, QueryBusConnector connector, DistributedQueryBusConfiguration configuration) Constructs aDistributedQueryBususing the givenlocalSegmentforsubscribinghandlers and the givenconnectorto dispatch and receive queries and query responses with, to and from different segments of theQueryBus.