Record Class DistributedQueryBusConfiguration

java.lang.Object
java.lang.Record
org.axonframework.messaging.queryhandling.distributed.DistributedQueryBusConfiguration
Record Components:
queryThreads - The number of threads used by the DistributedQueryBus for querying.
queryExecutorServiceFactory - The ExecutorServiceFactory constructing the priority-aware ExecutorService for querying in the DistributedQueryBus.
queryResponseThreads - The number of threads used by the DistributedQueryBus for handling query responses.
queryResponseExecutorServiceFactory - The ExecutorServiceFactory constructing the priority-aware ExecutorService for handling query responses in the DistributedQueryBus.

public record DistributedQueryBusConfiguration(int queryThreads, @Nonnull ExecutorServiceFactory<DistributedQueryBusConfiguration> queryExecutorServiceFactory, int queryResponseThreads, @Nonnull ExecutorServiceFactory<DistributedQueryBusConfiguration> queryResponseExecutorServiceFactory) extends Record
Configuration for the DistributedQueryBus.

Can be used to modify non-critical settings of the bus, such as the query and query response thread pools.

Since:
5.0.0
Author:
Steven van Beelen