com.caucho.cloud.loadbalance
Class SingleLoadBalanceManager

java.lang.Object
  extended by com.caucho.cloud.loadbalance.LoadBalanceManager
      extended by com.caucho.cloud.loadbalance.CustomLoadBalanceManager
          extended by com.caucho.cloud.loadbalance.SingleLoadBalanceManager

public class SingleLoadBalanceManager
extends CustomLoadBalanceManager

Manages a load balancer.


Constructor Summary
SingleLoadBalanceManager(java.lang.String probeCategory)
           
 
Method Summary
 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.
 
Methods inherited from class com.caucho.cloud.loadbalance.CustomLoadBalanceManager
createServerPool, getProbeCategory
 
Methods inherited from class com.caucho.cloud.loadbalance.LoadBalanceManager
close, open, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleLoadBalanceManager

public SingleLoadBalanceManager(java.lang.String probeCategory)
Method Detail

addAddress

public void addAddress(java.lang.String address)
Specified by:
addAddress in class CustomLoadBalanceManager

init

public void init()

openSticky

public ClientSocket openSticky(java.lang.String sessionId,
                               java.lang.Object requestInfo,
                               ClientSocketFactory oldSrun)
Opens the next available server.

Specified by:
openSticky in class LoadBalanceManager