org.jgroups.jmx.protocols
Class TCP
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.TP
org.jgroups.jmx.protocols.TCP
- All Implemented Interfaces:
- ProtocolMBean, TCPMBean, TPMBean
- Direct Known Subclasses:
- TCP_NIO
public class TCP
- extends TP
- implements TCPMBean
- Version:
- $Id: TCP.java,v 1.4 2006/10/30 20:07:10 bstansberry Exp $
- Author:
- Bela Ban
Methods inherited from class org.jgroups.jmx.protocols.TP |
getBindAddress, getBytesReceived, getBytesSent, getChannelName, getIncomingQueueSize, getLocalAddress, getMaxBundleSize, getMaxBundleTimeout, getMessagesReceived, getMessagesSent, getOutgoingQueueMaxSize, getOutgoingQueueSize, getReceiveInterfaces, getSendInterfaces, isDiscardIncompatiblePackets, isEnableBundling, isLoopback, isReceiveOnAllInterfaces, isSendOnAllInterfaces, isUseIncomingPacketHandler, isUseOutgoungPacketHandler, setBindAddress, setDiscardIncompatiblePackets, setEnableBundling, setLoopback, setMaxBundleSize, setMaxBundleTimeout, setOutgoingQueueMaxSize |
Methods inherited from class org.jgroups.jmx.Protocol |
create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, printStats, resetStats, setObserver, 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.protocols.TPMBean |
getBindAddress, getBytesReceived, getBytesSent, getChannelName, getIncomingQueueSize, getLocalAddress, getMaxBundleSize, getMaxBundleTimeout, getMessagesReceived, getMessagesSent, getOutgoingQueueMaxSize, getOutgoingQueueSize, getReceiveInterfaces, getSendInterfaces, isDiscardIncompatiblePackets, isEnableBundling, isLoopback, isReceiveOnAllInterfaces, isSendOnAllInterfaces, isUseIncomingPacketHandler, isUseOutgoungPacketHandler, setBindAddress, setDiscardIncompatiblePackets, setEnableBundling, setLoopback, setMaxBundleSize, setMaxBundleTimeout, setOutgoingQueueMaxSize |
Methods inherited from interface org.jgroups.jmx.ProtocolMBean |
create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, printStats, resetStats, setObserver, setProperties, setStatsEnabled, start, stop |
TCP
public TCP()
TCP
public TCP(Protocol p)
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in class TP
getOpenConnections
public int getOpenConnections()
- Specified by:
getOpenConnections
in interface TCPMBean
getBindAddr
public java.lang.String getBindAddr()
- Specified by:
getBindAddr
in interface TCPMBean
setBindAddr
public void setBindAddr(java.lang.String bind_addr)
- Specified by:
setBindAddr
in interface TCPMBean
getStartPort
public int getStartPort()
- Specified by:
getStartPort
in interface TCPMBean
setStartPort
public void setStartPort(int start_port)
- Specified by:
setStartPort
in interface TCPMBean
getEndPort
public int getEndPort()
- Specified by:
getEndPort
in interface TCPMBean
setEndPort
public void setEndPort(int end_port)
- Specified by:
setEndPort
in interface TCPMBean
getReaperInterval
public long getReaperInterval()
- Specified by:
getReaperInterval
in interface TCPMBean
setReaperInterval
public void setReaperInterval(long reaper_interval)
- Specified by:
setReaperInterval
in interface TCPMBean
getConnExpireTime
public long getConnExpireTime()
- Specified by:
getConnExpireTime
in interface TCPMBean
setConnExpireTime
public void setConnExpireTime(long conn_expire_time)
- Specified by:
setConnExpireTime
in interface TCPMBean
printConnections
public java.lang.String printConnections()
- Specified by:
printConnections
in interface TCPMBean
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.