1 7 package org.jboss.web.loadbalancer; 8 9 12 public interface LoadbalancerServiceMBean extends org.jboss.system.ServiceMBean 13 { 14 15 public static final javax.management.ObjectName OBJECT_NAME = org.jboss.mx.util.ObjectNameFactory 17 .create("jboss.web.loadbalancer: service=Loadbalancer"); 18 19 22 void setScheduler(javax.management.ObjectName schedulerObjectName); 23 24 27 javax.management.ObjectName getScheduler(); 28 29 32 int getConnectionTimeout(); 33 34 37 void setConnectionTimeout(int newTimeout); 38 39 42 int getConnectionsInUse(); 43 44 void createMethod(org.jboss.web.loadbalancer.util.Request schedRequest) 45 throws org.jboss.web.loadbalancer.scheduler.NoHostAvailableException; 46 47 void addRequestData(org.jboss.web.loadbalancer.util.Request schedRequest); 48 49 void handleRequest(org.jboss.web.loadbalancer.util.Request schedRequest) throws javax.servlet.ServletException , 50 java.io.IOException ; 51 52 } 53 | Popular Tags |