01: package org.jgroups.jmx.protocols.pbcast;
02:
03: import org.jgroups.jmx.ProtocolMBean;
04:
05: /**
06: * @author Bela Ban
07: * @version $Id: GMSMBean.java,v 1.3 2005/12/23 14:57:05 belaban Exp $
08: */
09: public interface GMSMBean extends ProtocolMBean {
10: String getView();
11:
12: String getLocalAddress();
13:
14: String getMembers();
15:
16: int getNumMembers();
17:
18: boolean isCoordinator();
19:
20: int getNumberOfViews();
21:
22: long getJoinTimeout();
23:
24: void setJoinTimeout(long t);
25:
26: long getJoinRetryTimeout();
27:
28: void setJoinRetryTimeout(long t);
29:
30: boolean isShun();
31:
32: void setShun(boolean s);
33:
34: String printPreviousMembers();
35:
36: String printPreviousViews();
37:
38: int getViewHandlerQueue();
39:
40: boolean isViewHandlerSuspended();
41:
42: String dumpViewHandlerQueue();
43:
44: String dumpHistory();
45:
46: void suspendViewHandler();
47:
48: void resumeViewHandler();
49: }
|