Package org.jgroups.jmx.protocols
Class TCP_NIO
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.TP
org.jgroups.jmx.protocols.TCP
org.jgroups.jmx.protocols.TCP_NIO
- All Implemented Interfaces:
ProtocolMBean
,TCP_NIOMBean
,TCPMBean
,TPMBean
- Version:
- $Id: TCP_NIO.java,v 1.3 2007/07/10 13:02:50 belaban Exp $
- Author:
- Scott Marlow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long
int
int
int
int
int
int
Methods inherited from class org.jgroups.jmx.protocols.TCP
getBindAddr, getConnExpireTime, getEndPort, getOpenConnections, getReaperInterval, getStartPort, printConnections, setBindAddr, setConnExpireTime, setEndPort, setReaperInterval, setStartPort
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.TCPMBean
getBindAddr, getConnExpireTime, getEndPort, getOpenConnections, getReaperInterval, getStartPort, printConnections, setBindAddr, setConnExpireTime, setEndPort, setReaperInterval, setStartPort
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_NIO
public TCP_NIO() -
TCP_NIO
-
-
Method Details
-
attachProtocol
- Overrides:
attachProtocol
in classTCP
-
getReaderThreads
public int getReaderThreads()- Specified by:
getReaderThreads
in interfaceTCP_NIOMBean
-
getWriterThreads
public int getWriterThreads()- Specified by:
getWriterThreads
in interfaceTCP_NIOMBean
-
getProcessorThreads
public int getProcessorThreads()- Specified by:
getProcessorThreads
in interfaceTCP_NIOMBean
-
getProcessorMinThreads
public int getProcessorMinThreads()- Specified by:
getProcessorMinThreads
in interfaceTCP_NIOMBean
-
getProcessorMaxThreads
public int getProcessorMaxThreads()- Specified by:
getProcessorMaxThreads
in interfaceTCP_NIOMBean
-
getProcessorQueueSize
public int getProcessorQueueSize()- Specified by:
getProcessorQueueSize
in interfaceTCP_NIOMBean
-
getProcessorKeepAliveTime
public long getProcessorKeepAliveTime()- Specified by:
getProcessorKeepAliveTime
in interfaceTCP_NIOMBean
-