public class SingleLoadBalanceManager extends CustomLoadBalanceManager
Constructor and Description |
---|
SingleLoadBalanceManager(ClientSocketFactory serverPool,
java.lang.String probeCategory) |
SingleLoadBalanceManager(java.lang.String probeCategory) |
Modifier and Type | Method and Description |
---|---|
void |
addAddress(java.lang.String address) |
void |
init() |
ClientSocket |
openSticky(java.lang.String sessionId,
java.lang.Object requestInfo,
ClientSocketFactory oldSrun)
Opens the next available server.
|
createServerPool, getProbeCategory
close, open, toString
public SingleLoadBalanceManager(ClientSocketFactory serverPool, java.lang.String probeCategory)
public SingleLoadBalanceManager(java.lang.String probeCategory)
public void addAddress(java.lang.String address)
addAddress
in class CustomLoadBalanceManager
public void init()
public ClientSocket openSticky(java.lang.String sessionId, java.lang.Object requestInfo, ClientSocketFactory oldSrun)
openSticky
in class LoadBalanceManager