Class PooledParallelSender
java.lang.Object
org.apache.catalina.tribes.transport.AbstractSender
org.apache.catalina.tribes.transport.PooledSender
org.apache.catalina.tribes.transport.nio.PooledParallelSender
- All Implemented Interfaces:
DataSender, MultiPointSender, PooledParallelSenderMBean
A pooled sender that uses
ParallelNioSender instances for parallel message delivery.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringManagerStringManager for internationalized log messages. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a new DataSender instance for the pool.voidsendMessage(Member[] destination, ChannelMessage message) Send the specified message.Methods inherited from class PooledSender
add, connect, disconnect, getInPoolSize, getInUsePoolSize, getMaxWait, getPoolSize, getSender, keepalive, remove, returnSender, setMaxWait, setPoolSizeMethods inherited from class AbstractSender
getAddress, getAttempt, getConnectTime, getDestination, getDirectBuffer, getKeepAliveCount, getKeepAliveTime, getMaxRetryAttempts, getOoBInline, getPort, getRequestCount, getRxBufSize, getSoKeepAlive, getSoLingerOn, getSoLingerTime, getSoReuseAddress, getSoTrafficClass, getTcpNoDelay, getThrowOnFailedAck, getTimeout, getTxBufSize, getUdpPort, getUdpRxBufSize, getUdpTxBufSize, isConnected, isUdpBased, setAddress, setAttempt, setConnected, setConnectTime, setDestination, setDirectBuffer, setKeepAliveCount, setKeepAliveTime, setMaxRetryAttempts, setOoBInline, setPort, setRequestCount, setRxBufSize, setSoKeepAlive, setSoLingerOn, setSoLingerTime, setSoReuseAddress, setSoTrafficClass, setTcpNoDelay, setThrowOnFailedAck, setTimeout, setTxBufSize, setUdpBased, setUdpPort, setUdpRxBufSize, setUdpTxBufSize, transferPropertiesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataSender
getConnectTime, getRequestCount, isConnected, setKeepAliveCount, setKeepAliveTime, setRxBufSize, setTimeout, setTxBufSizeMethods inherited from interface MultiPointSender
setDirectBuffer, setMaxRetryAttemptsMethods inherited from interface PooledParallelSenderMBean
getDirectBuffer, getInPoolSize, getInUsePoolSize, getKeepAliveCount, getKeepAliveTime, getMaxRetryAttempts, getMaxWait, getOoBInline, getPoolSize, getRxBufSize, getSoKeepAlive, getSoLingerOn, getSoLingerTime, getSoReuseAddress, getSoTrafficClass, getTcpNoDelay, getThrowOnFailedAck, getTimeout, getTxBufSize, getUdpRxBufSize, getUdpTxBufSize, isConnected
-
Field Details
-
sm
StringManager for internationalized log messages.
-
-
Constructor Details
-
PooledParallelSender
public PooledParallelSender()Creates a new PooledParallelSender instance.
-
-
Method Details
-
sendMessage
Description copied from interface:MultiPointSenderSend the specified message.- Specified by:
sendMessagein interfaceMultiPointSender- Parameters:
destination- the message destinationsmessage- the data to send- Throws:
ChannelException- if an error occurs
-
getNewDataSender
Description copied from class:PooledSenderCreates and returns a new DataSender instance for the pool.- Specified by:
getNewDataSenderin classPooledSender- Returns:
- a new DataSender
-