Uses of Record Class
org.axonframework.messaging.commandhandling.distributed.DistributedCommandBusConfiguration
Packages that use DistributedCommandBusConfiguration
-
Uses of DistributedCommandBusConfiguration in org.axonframework.messaging.commandhandling.distributed
Fields in org.axonframework.messaging.commandhandling.distributed declared as DistributedCommandBusConfigurationModifier and TypeFieldDescriptionstatic final DistributedCommandBusConfigurationDistributedCommandBusConfiguration.DEFAULTA default instance of theDistributedCommandBusConfiguration, setting theloadFactor()to 100, thecommandThreads()to 10, and theexecutorServiceFactory()to a priority-awareExecutorServiceFactoryusing the configured number of threads.Methods in org.axonframework.messaging.commandhandling.distributed that return DistributedCommandBusConfigurationModifier and TypeMethodDescriptionDistributedCommandBusConfiguration.commandThreads(int commandThreads) Sets the number of threads to use for the distributed command bus.DistributedCommandBusConfiguration.executorService(ExecutorService executorService) Sets theExecutorServiceto use for the distributed command bus.DistributedCommandBusConfiguration.loadFactor(int loadFactor) Sets the load factor for the distributed command bus.Methods in org.axonframework.messaging.commandhandling.distributed that return types with arguments of type DistributedCommandBusConfigurationModifier and TypeMethodDescriptionDistributedCommandBusConfiguration.executorServiceFactory()Returns the value of theexecutorServiceFactoryrecord component.Constructors in org.axonframework.messaging.commandhandling.distributed with parameters of type DistributedCommandBusConfigurationModifierConstructorDescriptionDistributedCommandBus(CommandBus localSegment, CommandBusConnector connector, DistributedCommandBusConfiguration configuration) Constructs aDistributedCommandBususing the givenlocalSegmentforsubscribinghandlers and the givenconnectorto dispatch commands and replies to different segments of theCommandBus.Constructor parameters in org.axonframework.messaging.commandhandling.distributed with type arguments of type DistributedCommandBusConfigurationModifierConstructorDescriptionDistributedCommandBusConfiguration(int loadFactor, int commandThreads, ExecutorServiceFactory<DistributedCommandBusConfiguration> executorServiceFactory) Compact constructor validating that the givenloadFactorandcommandThreadsare strictly positive.