public class ClusterLoadBalanceManager extends LoadBalanceManager
Constructor and Description |
---|
ClusterLoadBalanceManager(LoadBalanceClientGroup clientGroup,
StickyRequestHashGenerator sticky,
LoadBalanceStrategy strategyType) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ClientSocket |
openSticky(java.lang.String sessionId,
java.lang.Object requestInfo,
ClientSocketFactory oldSrun)
Opens the next available server.
|
java.lang.String |
toString() |
open
public ClusterLoadBalanceManager(LoadBalanceClientGroup clientGroup, StickyRequestHashGenerator sticky, LoadBalanceStrategy strategyType)
public ClientSocket openSticky(java.lang.String sessionId, java.lang.Object requestInfo, ClientSocketFactory oldSrun)
openSticky
in class LoadBalanceManager
public void close()
close
in class LoadBalanceManager
public java.lang.String toString()
toString
in class LoadBalanceManager