01: package org.jgroups.jmx.protocols;
02:
03: import org.jgroups.jmx.ProtocolMBean;
04:
05: import java.util.Vector;
06:
07: /**
08: * @author Bela Ban
09: * @version $Id: DiscoveryMBean.java,v 1.4 2005/08/26 14:19:09 belaban Exp $
10: */
11: public interface DiscoveryMBean extends ProtocolMBean {
12: long getTimeout();
13:
14: void setTimeout(long timeout);
15:
16: int getInitialMembers();
17:
18: void setInitialMembers(int num_initial_members);
19:
20: int getPingRequests();
21:
22: void setPingRequests(int num_ping_requests);
23:
24: int getDiscoveryRequestsSent();
25:
26: Vector findInitialMembers();
27:
28: String findInitialMembersAsString();
29: }
|