Class AxonServerConfiguration.Eventhandling.ProcessorSettings
java.lang.Object
org.axonframework.axonserver.connector.AxonServerConfiguration.Eventhandling.ProcessorSettings
- Enclosing class:
AxonServerConfiguration.Eventhandling
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the load balancing strategy for this event processor.booleanReturns whether automatic load balancing is configured, yes or no.voidsetAutomaticBalancing(boolean automaticBalancing) Sets the automatic load balancing strategy to the givenautomaticBalancing.voidsetLoadBalancingStrategy(String loadBalancingStrategy) Sets the load balancing strategy for this event processor.
-
Constructor Details
-
ProcessorSettings
public ProcessorSettings()
-
-
Method Details
-
getLoadBalancingStrategy
Returns the load balancing strategy for this event processor. Defaults to"disabled".- Returns:
- The load balancing strategy for this event processor.
-
setLoadBalancingStrategy
Sets the load balancing strategy for this event processor.- Parameters:
loadBalancingStrategy- The load balancing strategy for this event processor.
-
isAutomaticBalancing
public boolean isAutomaticBalancing()Returns whether automatic load balancing is configured, yes or no.- Returns:
- Whether automatic load balancing is configured, yes or no.
-
setAutomaticBalancing
public void setAutomaticBalancing(boolean automaticBalancing) Sets the automatic load balancing strategy to the givenautomaticBalancing.- Parameters:
automaticBalancing- Thebooleanto set as to whether automatic load balancing is enabled or disabled.
-