01: package org.jgroups.jmx.protocols;
02:
03: import org.jgroups.jmx.Protocol;
04:
05: /**
06: * @author Bela Ban
07: * @version $Id: MERGE2.java,v 1.1 2005/06/13 11:55:31 belaban Exp $
08: */
09: public class MERGE2 extends Protocol implements MERGE2MBean {
10: org.jgroups.protocols.MERGE2 p;
11:
12: public MERGE2() {
13: }
14:
15: public MERGE2(org.jgroups.stack.Protocol p) {
16: super (p);
17: this .p = (org.jgroups.protocols.MERGE2) p;
18: }
19:
20: public void attachProtocol(org.jgroups.stack.Protocol p) {
21: super .attachProtocol(p);
22: this .p = (org.jgroups.protocols.MERGE2) p;
23: }
24:
25: public long getMinInterval() {
26: return p.getMinInterval();
27: }
28:
29: public void setMinInterval(long i) {
30: p.setMinInterval(i);
31: }
32:
33: public long getMaxInterval() {
34: return p.getMaxInterval();
35: }
36:
37: public void setMaxInterval(long l) {
38: p.setMaxInterval(l);
39: }
40: }
|