Package org.jboss.modcluster.config
Interface BalancerConfiguration
- All Known Implementing Classes:
BalancerConfigurationImpl,ModClusterConfig,ModClusterListener,ModClusterListener
public interface BalancerConfiguration
- Author:
- Brian Stansberry
-
Method Summary
Modifier and TypeMethodDescriptionintMaximum number of attempts to send the request to the backend server.booleanEnables sticky sessions.booleanReturn an error when the request cannot be routed to the right node.booleanRemove session when the request cannot be routed to the right node.intTimeout to wait for an available worker (default is no wait).
-
Method Details
-
getStickySession
boolean getStickySession()Enables sticky sessions. -
getStickySessionRemove
boolean getStickySessionRemove()Remove session when the request cannot be routed to the right node. -
getStickySessionForce
boolean getStickySessionForce()Return an error when the request cannot be routed to the right node. -
getWorkerTimeout
int getWorkerTimeout()Timeout to wait for an available worker (default is no wait). -
getMaxAttempts
int getMaxAttempts()Maximum number of attempts to send the request to the backend server.
-