1 package org.jgroups.jmx.protocols; 2 3 import org.jgroups.jmx.ProtocolMBean; 4 import org.jgroups.Address; 5 6 import java.net.UnknownHostException ; 7 import java.util.List ; 8 9 13 public interface TPMBean extends ProtocolMBean { 14 Address getLocalAddress(); 15 String getBindAddress(); 16 String getChannelName(); 17 long getMessagesSent(); 18 long getMessagesReceived(); 19 long getBytesSent(); 20 long getBytesReceived(); 21 void setBindAddress(String bind_address) throws UnknownHostException ; 22 boolean isReceiveOnAllInterfaces(); 23 List getReceiveInterfaces(); 24 boolean isSendOnAllInterfaces(); 25 List 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 |