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 int
getMaxAttempts()
Maximum number of attempts to send the request to the backend server.boolean
getStickySession()
Enables sticky sessions.boolean
getStickySessionForce()
Return an error when the request cannot be routed to the right node.boolean
getStickySessionRemove()
Remove session when the request cannot be routed to the right node.int
getWorkerTimeout()
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.
-
-