KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgroups > jmx > protocols > TPMBean


1 package org.jgroups.jmx.protocols;
2
3 import org.jgroups.jmx.ProtocolMBean;
4 import org.jgroups.Address;
5
6 import java.net.UnknownHostException JavaDoc;
7 import java.util.List JavaDoc;
8
9 /**
10  * @author Bela Ban
11  * @version $Id: TPMBean.java,v 1.12 2007/07/02 11:15:21 belaban Exp $
12  */

13 public interface TPMBean extends ProtocolMBean {
14     Address getLocalAddress();
15     String JavaDoc getBindAddress();
16     String JavaDoc getChannelName();
17     long getMessagesSent();
18     long getMessagesReceived();
19     long getBytesSent();
20     long getBytesReceived();
21     void setBindAddress(String JavaDoc bind_address) throws UnknownHostException JavaDoc;
22     boolean isReceiveOnAllInterfaces();
23     List JavaDoc getReceiveInterfaces();
24     boolean isSendOnAllInterfaces();
25     List JavaDoc getSendInterfaces();
26     boolean isDiscardIncompatiblePackets();
27     void setDiscardIncompatiblePackets(boolean flag);
28     boolean isEnableBundling();
29     void setEnableBundling(boolean flag);
30     int getMaxBundleSize();
31     void setMaxBundleSize(int size);
32     long getMaxBundleTimeout();
33     void setMaxBundleTimeout(long timeout);
34     boolean isLoopback();
35     void setLoopback(boolean b);
36     boolean isUseIncomingPacketHandler();
37
38
39     int getOOBMinPoolSize();
40     void setOOBMinPoolSize(int size);
41     int getOOBMaxPoolSize();
42     void setOOBMaxPoolSize(int size);
43     int getOOBPoolSize();
44     long getOOBKeepAliveTime();
45     void setOOBKeepAliveTime(long time);
46     long getOOBMessages();
47     int getOOBQueueSize();
48     int getOOBMaxQueueSize();
49
50     int getIncomingMinPoolSize();
51     void setIncomingMinPoolSize(int size);
52     int getIncomingMaxPoolSize();
53     void setIncomingMaxPoolSize(int size);
54     int getIncomingPoolSize();
55     long getIncomingKeepAliveTime();
56     void setIncomingKeepAliveTime(long time);
57     long getIncomingMessages();
58     int getIncomingQueueSize();
59     int getIncomingMaxQueueSize();
60 }
61
Popular Tags