public class RoundRobinBalanceStrategy extends AbstractLoadBalanceStrategy
log
Modifier | Constructor and Description |
---|---|
protected |
RoundRobinBalanceStrategy(LoadBalanceClientGroup clientGroup) |
Modifier and Type | Method and Description |
---|---|
protected ClientSocket |
openBestServer(int startIndex,
ClientSocketFactory oldSrun)
Opens the best load balance server.
|
getClientList, nextRoundRobin, openServer, toString
protected RoundRobinBalanceStrategy(LoadBalanceClientGroup clientGroup)
protected ClientSocket openBestServer(int startIndex, ClientSocketFactory oldSrun)
openBestServer
in class AbstractLoadBalanceStrategy
oldSrun
- on failover, the client which failed with 503