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
-
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 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 Protocol
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ProtocolMBean
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stopMethods inherited from interface 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
-