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
public class TCP_NIO extends TCP implements TCP_NIOMBean
- Version:
- $Id: TCP_NIO.java,v 1.3 2007/07/10 13:02:50 belaban Exp $
- Author:
- Scott Marlow
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachProtocol(Protocol p)
long
getProcessorKeepAliveTime()
int
getProcessorMaxThreads()
int
getProcessorMinThreads()
int
getProcessorQueueSize()
int
getProcessorThreads()
int
getReaderThreads()
int
getWriterThreads()
-
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 Detail
-
TCP_NIO
public TCP_NIO()
-
TCP_NIO
public TCP_NIO(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- 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
-
-