Package 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
- Version:
- $Id: TCP.java,v 1.4 2006/10/30 20:07:10 bstansberry Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlongintintlongintvoidsetBindAddr(String bind_addr) voidsetConnExpireTime(long conn_expire_time) voidsetEndPort(int end_port) voidsetReaperInterval(long reaper_interval) voidsetStartPort(int start_port) Methods inherited from class org.jgroups.jmx.protocols.TP
getBindAddress, getBytesReceived, getBytesSent, getChannelName, getIncomingKeepAliveTime, getIncomingMaxPoolSize, getIncomingMaxQueueSize, getIncomingMessages, getIncomingMinPoolSize, getIncomingPoolSize, getIncomingQueueSize, getLocalAddress, getMaxBundleSize, getMaxBundleTimeout, getMessagesReceived, getMessagesSent, getOOBKeepAliveTime, getOOBMaxPoolSize, getOOBMaxQueueSize, getOOBMessages, getOOBMinPoolSize, getOOBPoolSize, getOOBQueueSize, getReceiveInterfaces, getSendInterfaces, isDiscardIncompatiblePackets, isEnableBundling, isLoopback, isReceiveOnAllInterfaces, isSendOnAllInterfaces, isUseIncomingPacketHandler, setBindAddress, setDiscardIncompatiblePackets, setEnableBundling, setIncomingKeepAliveTime, setIncomingMaxPoolSize, setIncomingMinPoolSize, setLoopback, setMaxBundleSize, setMaxBundleTimeout, setOOBKeepAliveTime, setOOBMaxPoolSize, setOOBMinPoolSizeMethods 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, stopMethods inherited from interface org.jgroups.jmx.protocols.TPMBean
getBindAddress, getBytesReceived, getBytesSent, getChannelName, getIncomingKeepAliveTime, getIncomingMaxPoolSize, getIncomingMaxQueueSize, getIncomingMessages, getIncomingMinPoolSize, getIncomingPoolSize, getIncomingQueueSize, getLocalAddress, getMaxBundleSize, getMaxBundleTimeout, getMessagesReceived, getMessagesSent, getOOBKeepAliveTime, getOOBMaxPoolSize, getOOBMaxQueueSize, getOOBMessages, getOOBMinPoolSize, getOOBPoolSize, getOOBQueueSize, getReceiveInterfaces, getSendInterfaces, isDiscardIncompatiblePackets, isEnableBundling, isLoopback, isReceiveOnAllInterfaces, isSendOnAllInterfaces, isUseIncomingPacketHandler, setBindAddress, setDiscardIncompatiblePackets, setEnableBundling, setIncomingKeepAliveTime, setIncomingMaxPoolSize, setIncomingMinPoolSize, setLoopback, setMaxBundleSize, setMaxBundleTimeout, setOOBKeepAliveTime, setOOBMaxPoolSize, setOOBMinPoolSize
-
Constructor Details
-
TCP
public TCP() -
TCP
-
-
Method Details
-
attachProtocol
- Overrides:
attachProtocolin classTP
-
getOpenConnections
public int getOpenConnections()- Specified by:
getOpenConnectionsin interfaceTCPMBean
-
getBindAddr
- Specified by:
getBindAddrin interfaceTCPMBean
-
setBindAddr
- Specified by:
setBindAddrin interfaceTCPMBean
-
getStartPort
public int getStartPort()- Specified by:
getStartPortin interfaceTCPMBean
-
setStartPort
public void setStartPort(int start_port) - Specified by:
setStartPortin interfaceTCPMBean
-
getEndPort
public int getEndPort()- Specified by:
getEndPortin interfaceTCPMBean
-
setEndPort
public void setEndPort(int end_port) - Specified by:
setEndPortin interfaceTCPMBean
-
getReaperInterval
public long getReaperInterval()- Specified by:
getReaperIntervalin interfaceTCPMBean
-
setReaperInterval
public void setReaperInterval(long reaper_interval) - Specified by:
setReaperIntervalin interfaceTCPMBean
-
getConnExpireTime
public long getConnExpireTime()- Specified by:
getConnExpireTimein interfaceTCPMBean
-
setConnExpireTime
public void setConnExpireTime(long conn_expire_time) - Specified by:
setConnExpireTimein interfaceTCPMBean
-
printConnections
- Specified by:
printConnectionsin interfaceTCPMBean
-