Package org.jgroups.jmx.protocols
Class TP
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.TP
- All Implemented Interfaces:
ProtocolMBean,TPMBean
- Version:
- $Id: TP.java,v 1.12 2006/12/31 14:23:29 belaban Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlonglonglongintintlongintintintintlonglonglonglongintintlongintintintbooleanbooleanbooleanbooleanbooleanbooleanvoidsetBindAddress(String bind_address) voidsetDiscardIncompatiblePackets(boolean flag) voidsetEnableBundling(boolean flag) voidsetIncomingKeepAliveTime(long time) voidsetIncomingMaxPoolSize(int size) voidsetIncomingMinPoolSize(int size) voidsetLoopback(boolean b) voidsetMaxBundleSize(int size) voidsetMaxBundleTimeout(long timeout) voidsetOOBKeepAliveTime(long time) voidsetOOBMaxPoolSize(int size) voidsetOOBMinPoolSize(int size) Methods inherited from class org.jgroups.jmx.Protocol
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jgroups.jmx.ProtocolMBean
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
-
Constructor Details
-
TP
public TP() -
TP
-
-
Method Details
-
attachProtocol
- Overrides:
attachProtocolin classProtocol
-
getMessagesSent
public long getMessagesSent()- Specified by:
getMessagesSentin interfaceTPMBean
-
getMessagesReceived
public long getMessagesReceived()- Specified by:
getMessagesReceivedin interfaceTPMBean
-
getBytesSent
public long getBytesSent()- Specified by:
getBytesSentin interfaceTPMBean
-
getBytesReceived
public long getBytesReceived()- Specified by:
getBytesReceivedin interfaceTPMBean
-
getLocalAddress
- Specified by:
getLocalAddressin interfaceTPMBean
-
getBindAddress
- Specified by:
getBindAddressin interfaceTPMBean
-
getChannelName
- Specified by:
getChannelNamein interfaceTPMBean
-
setBindAddress
- Specified by:
setBindAddressin interfaceTPMBean- Throws:
UnknownHostException
-
isReceiveOnAllInterfaces
public boolean isReceiveOnAllInterfaces()- Specified by:
isReceiveOnAllInterfacesin interfaceTPMBean
-
getReceiveInterfaces
- Specified by:
getReceiveInterfacesin interfaceTPMBean
-
isSendOnAllInterfaces
public boolean isSendOnAllInterfaces()- Specified by:
isSendOnAllInterfacesin interfaceTPMBean
-
getSendInterfaces
- Specified by:
getSendInterfacesin interfaceTPMBean
-
isDiscardIncompatiblePackets
public boolean isDiscardIncompatiblePackets()- Specified by:
isDiscardIncompatiblePacketsin interfaceTPMBean
-
setDiscardIncompatiblePackets
public void setDiscardIncompatiblePackets(boolean flag) - Specified by:
setDiscardIncompatiblePacketsin interfaceTPMBean
-
isEnableBundling
public boolean isEnableBundling()- Specified by:
isEnableBundlingin interfaceTPMBean
-
setEnableBundling
public void setEnableBundling(boolean flag) - Specified by:
setEnableBundlingin interfaceTPMBean
-
getMaxBundleSize
public int getMaxBundleSize()- Specified by:
getMaxBundleSizein interfaceTPMBean
-
setMaxBundleSize
public void setMaxBundleSize(int size) - Specified by:
setMaxBundleSizein interfaceTPMBean
-
getMaxBundleTimeout
public long getMaxBundleTimeout()- Specified by:
getMaxBundleTimeoutin interfaceTPMBean
-
setMaxBundleTimeout
public void setMaxBundleTimeout(long timeout) - Specified by:
setMaxBundleTimeoutin interfaceTPMBean
-
isLoopback
public boolean isLoopback()- Specified by:
isLoopbackin interfaceTPMBean
-
setLoopback
public void setLoopback(boolean b) - Specified by:
setLoopbackin interfaceTPMBean
-
isUseIncomingPacketHandler
public boolean isUseIncomingPacketHandler()- Specified by:
isUseIncomingPacketHandlerin interfaceTPMBean
-
getOOBMinPoolSize
public int getOOBMinPoolSize()- Specified by:
getOOBMinPoolSizein interfaceTPMBean
-
setOOBMinPoolSize
public void setOOBMinPoolSize(int size) - Specified by:
setOOBMinPoolSizein interfaceTPMBean
-
getOOBMaxPoolSize
public int getOOBMaxPoolSize()- Specified by:
getOOBMaxPoolSizein interfaceTPMBean
-
setOOBMaxPoolSize
public void setOOBMaxPoolSize(int size) - Specified by:
setOOBMaxPoolSizein interfaceTPMBean
-
getOOBPoolSize
public int getOOBPoolSize()- Specified by:
getOOBPoolSizein interfaceTPMBean
-
getOOBKeepAliveTime
public long getOOBKeepAliveTime()- Specified by:
getOOBKeepAliveTimein interfaceTPMBean
-
setOOBKeepAliveTime
public void setOOBKeepAliveTime(long time) - Specified by:
setOOBKeepAliveTimein interfaceTPMBean
-
getOOBMessages
public long getOOBMessages()- Specified by:
getOOBMessagesin interfaceTPMBean
-
getOOBQueueSize
public int getOOBQueueSize()- Specified by:
getOOBQueueSizein interfaceTPMBean
-
getOOBMaxQueueSize
public int getOOBMaxQueueSize()- Specified by:
getOOBMaxQueueSizein interfaceTPMBean
-
getIncomingMinPoolSize
public int getIncomingMinPoolSize()- Specified by:
getIncomingMinPoolSizein interfaceTPMBean
-
setIncomingMinPoolSize
public void setIncomingMinPoolSize(int size) - Specified by:
setIncomingMinPoolSizein interfaceTPMBean
-
getIncomingMaxPoolSize
public int getIncomingMaxPoolSize()- Specified by:
getIncomingMaxPoolSizein interfaceTPMBean
-
setIncomingMaxPoolSize
public void setIncomingMaxPoolSize(int size) - Specified by:
setIncomingMaxPoolSizein interfaceTPMBean
-
getIncomingPoolSize
public int getIncomingPoolSize()- Specified by:
getIncomingPoolSizein interfaceTPMBean
-
getIncomingKeepAliveTime
public long getIncomingKeepAliveTime()- Specified by:
getIncomingKeepAliveTimein interfaceTPMBean
-
setIncomingKeepAliveTime
public void setIncomingKeepAliveTime(long time) - Specified by:
setIncomingKeepAliveTimein interfaceTPMBean
-
getIncomingMessages
public long getIncomingMessages()- Specified by:
getIncomingMessagesin interfaceTPMBean
-
getIncomingQueueSize
public int getIncomingQueueSize()- Specified by:
getIncomingQueueSizein interfaceTPMBean
-
getIncomingMaxQueueSize
public int getIncomingMaxQueueSize()- Specified by:
getIncomingMaxQueueSizein interfaceTPMBean
-