org.jboss.web.loadbalancer.scheduler
Class RoundRobinSchedulerService

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.web.loadbalancer.scheduler.AbstractScheduler (src) 
              extended byorg.jboss.web.loadbalancer.scheduler.RoundRobinSchedulerService
All Implemented Interfaces:
java.util.EventListener, MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , NotificationListener (src) , Service (src) , ServiceMBean (src)

public class RoundRobinSchedulerService
extends AbstractScheduler (src)

A round robin scheduler.


Field Summary
 
Fields inherited from class org.jboss.web.loadbalancer.scheduler.AbstractScheduler (src)
config, hostsDown, hostsUp, stickyCookieName, useStickySession
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
RoundRobinSchedulerService()
           
 
Method Summary
protected  Host (src) getNextHost()
          Override this method to create a new scheduler.
 
Methods inherited from class org.jboss.web.loadbalancer.scheduler.AbstractScheduler (src)
addHost, addHostsFromConfig, createService, deregisterHostMBean, deregisterHostMBeans, findStickyHost, genObjectNameForHost, getHost, getHostsDown, getHostsUp, handleNotification, markNodeDown, markNodeUp, registerHostMBean, removeHost, setConfig, setStickyCookie, stopService
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundRobinSchedulerService

public RoundRobinSchedulerService()
Method Detail

getNextHost

protected Host (src)  getNextHost()
Description copied from class: AbstractScheduler (src)
Override this method to create a new scheduler.

Specified by:
getNextHost in class AbstractScheduler (src)
Returns: