org.jgroups.jmx.protocols
Class TP
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.TP
- All Implemented Interfaces:
- ProtocolMBean, TPMBean
- Direct Known Subclasses:
- TCP, UDP
public class TP
- extends Protocol
- implements TPMBean
- Version:
- $Id: TP.java,v 1.12 2006/12/31 14:23:29 belaban Exp $
- Author:
- Bela Ban
Methods inherited from class org.jgroups.jmx.Protocol |
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jgroups.jmx.ProtocolMBean |
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop |
TP
public TP()
TP
public TP(Protocol p)
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in class Protocol
getMessagesSent
public long getMessagesSent()
- Specified by:
getMessagesSent
in interface TPMBean
getMessagesReceived
public long getMessagesReceived()
- Specified by:
getMessagesReceived
in interface TPMBean
getBytesSent
public long getBytesSent()
- Specified by:
getBytesSent
in interface TPMBean
getBytesReceived
public long getBytesReceived()
- Specified by:
getBytesReceived
in interface TPMBean
getLocalAddress
public Address getLocalAddress()
- Specified by:
getLocalAddress
in interface TPMBean
getBindAddress
public java.lang.String getBindAddress()
- Specified by:
getBindAddress
in interface TPMBean
getChannelName
public java.lang.String getChannelName()
- Specified by:
getChannelName
in interface TPMBean
setBindAddress
public void setBindAddress(java.lang.String bind_address)
throws java.net.UnknownHostException
- Specified by:
setBindAddress
in interface TPMBean
- Throws:
java.net.UnknownHostException
isReceiveOnAllInterfaces
public boolean isReceiveOnAllInterfaces()
- Specified by:
isReceiveOnAllInterfaces
in interface TPMBean
getReceiveInterfaces
public java.util.List getReceiveInterfaces()
- Specified by:
getReceiveInterfaces
in interface TPMBean
isSendOnAllInterfaces
public boolean isSendOnAllInterfaces()
- Specified by:
isSendOnAllInterfaces
in interface TPMBean
getSendInterfaces
public java.util.List getSendInterfaces()
- Specified by:
getSendInterfaces
in interface TPMBean
isDiscardIncompatiblePackets
public boolean isDiscardIncompatiblePackets()
- Specified by:
isDiscardIncompatiblePackets
in interface TPMBean
setDiscardIncompatiblePackets
public void setDiscardIncompatiblePackets(boolean flag)
- Specified by:
setDiscardIncompatiblePackets
in interface TPMBean
isEnableBundling
public boolean isEnableBundling()
- Specified by:
isEnableBundling
in interface TPMBean
setEnableBundling
public void setEnableBundling(boolean flag)
- Specified by:
setEnableBundling
in interface TPMBean
getMaxBundleSize
public int getMaxBundleSize()
- Specified by:
getMaxBundleSize
in interface TPMBean
setMaxBundleSize
public void setMaxBundleSize(int size)
- Specified by:
setMaxBundleSize
in interface TPMBean
getMaxBundleTimeout
public long getMaxBundleTimeout()
- Specified by:
getMaxBundleTimeout
in interface TPMBean
setMaxBundleTimeout
public void setMaxBundleTimeout(long timeout)
- Specified by:
setMaxBundleTimeout
in interface TPMBean
isLoopback
public boolean isLoopback()
- Specified by:
isLoopback
in interface TPMBean
setLoopback
public void setLoopback(boolean b)
- Specified by:
setLoopback
in interface TPMBean
isUseIncomingPacketHandler
public boolean isUseIncomingPacketHandler()
- Specified by:
isUseIncomingPacketHandler
in interface TPMBean
getOOBMinPoolSize
public int getOOBMinPoolSize()
- Specified by:
getOOBMinPoolSize
in interface TPMBean
setOOBMinPoolSize
public void setOOBMinPoolSize(int size)
- Specified by:
setOOBMinPoolSize
in interface TPMBean
getOOBMaxPoolSize
public int getOOBMaxPoolSize()
- Specified by:
getOOBMaxPoolSize
in interface TPMBean
setOOBMaxPoolSize
public void setOOBMaxPoolSize(int size)
- Specified by:
setOOBMaxPoolSize
in interface TPMBean
getOOBPoolSize
public int getOOBPoolSize()
- Specified by:
getOOBPoolSize
in interface TPMBean
getOOBKeepAliveTime
public long getOOBKeepAliveTime()
- Specified by:
getOOBKeepAliveTime
in interface TPMBean
setOOBKeepAliveTime
public void setOOBKeepAliveTime(long time)
- Specified by:
setOOBKeepAliveTime
in interface TPMBean
getOOBMessages
public long getOOBMessages()
- Specified by:
getOOBMessages
in interface TPMBean
getOOBQueueSize
public int getOOBQueueSize()
- Specified by:
getOOBQueueSize
in interface TPMBean
getOOBMaxQueueSize
public int getOOBMaxQueueSize()
- Specified by:
getOOBMaxQueueSize
in interface TPMBean
getIncomingMinPoolSize
public int getIncomingMinPoolSize()
- Specified by:
getIncomingMinPoolSize
in interface TPMBean
setIncomingMinPoolSize
public void setIncomingMinPoolSize(int size)
- Specified by:
setIncomingMinPoolSize
in interface TPMBean
getIncomingMaxPoolSize
public int getIncomingMaxPoolSize()
- Specified by:
getIncomingMaxPoolSize
in interface TPMBean
setIncomingMaxPoolSize
public void setIncomingMaxPoolSize(int size)
- Specified by:
setIncomingMaxPoolSize
in interface TPMBean
getIncomingPoolSize
public int getIncomingPoolSize()
- Specified by:
getIncomingPoolSize
in interface TPMBean
getIncomingKeepAliveTime
public long getIncomingKeepAliveTime()
- Specified by:
getIncomingKeepAliveTime
in interface TPMBean
setIncomingKeepAliveTime
public void setIncomingKeepAliveTime(long time)
- Specified by:
setIncomingKeepAliveTime
in interface TPMBean
getIncomingMessages
public long getIncomingMessages()
- Specified by:
getIncomingMessages
in interface TPMBean
getIncomingQueueSize
public int getIncomingQueueSize()
- Specified by:
getIncomingQueueSize
in interface TPMBean
getIncomingMaxQueueSize
public int getIncomingMaxQueueSize()
- Specified by:
getIncomingMaxQueueSize
in interface TPMBean
Copyright © 1998-2008 Bela Ban. All Rights Reserved.