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 voidattachProtocol(Protocol p)longgetProcessorKeepAliveTime()intgetProcessorMaxThreads()intgetProcessorMinThreads()intgetProcessorQueueSize()intgetProcessorThreads()intgetReaderThreads()intgetWriterThreads()-
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:
attachProtocolin classTCP
-
getReaderThreads
public int getReaderThreads()
- Specified by:
getReaderThreadsin interfaceTCP_NIOMBean
-
getWriterThreads
public int getWriterThreads()
- Specified by:
getWriterThreadsin interfaceTCP_NIOMBean
-
getProcessorThreads
public int getProcessorThreads()
- Specified by:
getProcessorThreadsin interfaceTCP_NIOMBean
-
getProcessorMinThreads
public int getProcessorMinThreads()
- Specified by:
getProcessorMinThreadsin interfaceTCP_NIOMBean
-
getProcessorMaxThreads
public int getProcessorMaxThreads()
- Specified by:
getProcessorMaxThreadsin interfaceTCP_NIOMBean
-
getProcessorQueueSize
public int getProcessorQueueSize()
- Specified by:
getProcessorQueueSizein interfaceTCP_NIOMBean
-
getProcessorKeepAliveTime
public long getProcessorKeepAliveTime()
- Specified by:
getProcessorKeepAliveTimein interfaceTCP_NIOMBean
-
-