KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > web > loadbalancer > scheduler > HostMBean


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.scheduler;
8
9 /**
10  * MBean interface.
11  */

12 public interface HostMBean
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: type=Host");
18
19    int getCurrentConnections();
20
21    java.net.URL JavaDoc getUrl();
22
23    int getLbFactor();
24
25    void setLbFactor(int lbFactor);
26
27    org.jboss.web.loadbalancer.scheduler.HostStatistics getStatistics();
28
29    int getState();
30
31    java.lang.String JavaDoc getStateString();
32
33    void markNodeUp();
34
35    void markNodeDown();
36
37    void markNodeForcedDown();
38
39    void resetStatistics();
40
41 }
42
Popular Tags