1 package org.jgroups.jmx.protocols; 2 3 import org.jgroups.jmx.Protocol; 4 5 9 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 } 41 | Popular Tags |