com.caucho.cloud.loadbalance
Class LoadBalanceService

java.lang.Object
  extended by com.caucho.env.service.AbstractResinSubSystem
      extended by com.caucho.cloud.loadbalance.LoadBalanceService
All Implemented Interfaces:
ResinSubSystem

public class LoadBalanceService
extends AbstractResinSubSystem

LoadBalanceService distributes requests across a group of clients.


Field Summary
 
Fields inherited from interface com.caucho.env.service.ResinSubSystem
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER
 
Constructor Summary
LoadBalanceService(LoadBalanceFactory factory)
          Creates a new load balance service.
 
Method Summary
static LoadBalanceService createAndAddService(LoadBalanceFactory factory)
           
 LoadBalanceBuilder createBuilder()
           
static LoadBalanceService getCurrent()
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.env.service.AbstractResinSubSystem
destroy, getStartPriority, getStopPriority, preCreate, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadBalanceService

public LoadBalanceService(LoadBalanceFactory factory)
Creates a new load balance service.

Method Detail

createAndAddService

public static LoadBalanceService createAndAddService(LoadBalanceFactory factory)

getCurrent

public static LoadBalanceService getCurrent()

createBuilder

public LoadBalanceBuilder createBuilder()

toString

public java.lang.String toString()
Overrides:
toString in class AbstractResinSubSystem