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 TypeMethodDescriptionvoid
long
int
int
long
int
void
setBindAddr
(String bind_addr) void
setConnExpireTime
(long conn_expire_time) void
setEndPort
(int end_port) void
setReaperInterval
(long reaper_interval) void
setStartPort
(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, setOOBMinPoolSize
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
Methods 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:
attachProtocol
in classTP
-
getOpenConnections
public int getOpenConnections()- Specified by:
getOpenConnections
in interfaceTCPMBean
-
getBindAddr
- Specified by:
getBindAddr
in interfaceTCPMBean
-
setBindAddr
- Specified by:
setBindAddr
in interfaceTCPMBean
-
getStartPort
public int getStartPort()- Specified by:
getStartPort
in interfaceTCPMBean
-
setStartPort
public void setStartPort(int start_port) - Specified by:
setStartPort
in interfaceTCPMBean
-
getEndPort
public int getEndPort()- Specified by:
getEndPort
in interfaceTCPMBean
-
setEndPort
public void setEndPort(int end_port) - Specified by:
setEndPort
in interfaceTCPMBean
-
getReaperInterval
public long getReaperInterval()- Specified by:
getReaperInterval
in interfaceTCPMBean
-
setReaperInterval
public void setReaperInterval(long reaper_interval) - Specified by:
setReaperInterval
in interfaceTCPMBean
-
getConnExpireTime
public long getConnExpireTime()- Specified by:
getConnExpireTime
in interfaceTCPMBean
-
setConnExpireTime
public void setConnExpireTime(long conn_expire_time) - Specified by:
setConnExpireTime
in interfaceTCPMBean
-
printConnections
- Specified by:
printConnections
in interfaceTCPMBean
-