|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.web.loadbalancer.LoadbalancerService
Field Summary | |
protected org.w3c.dom.Element |
config
|
protected Loadbalancer (src) |
loadbalancer
|
protected SchedulerMBean (src) |
scheduler
|
protected ObjectName (src) |
schedulerObjectName
|
protected int |
timeout
|
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 | |
LoadbalancerService()
|
Method Summary | |
void |
addRequestData(Request (src) schedRequest)
|
void |
createMethod(Request (src) schedRequest)
|
protected void |
destroyService()
Sub-classes should override this method to provide custum 'destroy' logic. |
int |
getConnectionsInUse()
Get the currently used connections to slave hosts. |
int |
getConnectionTimeout()
Get the currently used connection timeout to slave hosts. |
ObjectName (src) |
getScheduler()
Get the scheduler for this Loadbalancer. |
void |
handleRequest(Request (src) schedRequest)
|
void |
setConnectionTimeout(int newTimeout)
Set the currently used connection timeout to slave hosts. |
void |
setScheduler(ObjectName (src) schedulerObjectName)
Set the scheduler for this Loadbalancer. |
protected void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop, stopService |
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 |
Field Detail |
protected org.w3c.dom.Element config
protected Loadbalancer (src) loadbalancer
protected ObjectName (src) schedulerObjectName
protected SchedulerMBean (src) scheduler
protected int timeout
Constructor Detail |
public LoadbalancerService()
Method Detail |
protected void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected void destroyService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
destroyService
in class ServiceMBeanSupport (src)
java.lang.Exception
public void setScheduler(ObjectName (src) schedulerObjectName)
schedulerObjectName
- public ObjectName (src) getScheduler()
public int getConnectionTimeout()
public void setConnectionTimeout(int newTimeout)
public int getConnectionsInUse()
public void createMethod(Request (src) schedRequest) throws NoHostAvailableException (src)
NoHostAvailableException (src)
public void addRequestData(Request (src) schedRequest)
public void handleRequest(Request (src) schedRequest) throws ServletException, java.io.IOException
ServletException
java.io.IOException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |