Package org.jboss.modcluster.config
Interface BalancerConfiguration
-
- All Known Implementing Classes:
BalancerConfigurationImpl,ModClusterConfig,ModClusterListener,ModClusterListener
public interface BalancerConfiguration- Author:
- Brian Stansberry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxAttempts()Maximum number of attempts to send the request to the backend server.booleangetStickySession()Enables sticky sessions.booleangetStickySessionForce()Return an error when the request cannot be routed to the right node.booleangetStickySessionRemove()Remove session when the request cannot be routed to the right node.intgetWorkerTimeout()Timeout to wait for an available worker (default is no wait).
-
-
-
Method Detail
-
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.
-
-