KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > web > loadbalancer > LoadbalancerMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.web.loadbalancer;
8
9 /**
10  * MBean interface.
11  */

12 public interface LoadbalancerMBean
13 {
14
15    //default object name
16
public static final javax.management.ObjectName JavaDoc OBJECT_NAME = org.jboss.mx.util.ObjectNameFactory
17          .create("jboss.web.loadbalancer: service=Loadbalancer");
18
19    /**
20     * Get the currently used connection timeout to slave hosts.
21     */

22    int getConnectionTimeout();
23
24    /**
25     * Set the currently used connection timeout to slave hosts.
26     */

27    void setConnectionTimeout(int newTimeout);
28
29    /**
30     * Get the currently used connections to slave hosts.
31     */

32    int getConnectionsInUse();
33
34 }
35
Popular Tags