Interface PooledParallelSenderMBean
- All Known Implementing Classes:
PooledParallelSender
public interface PooledParallelSenderMBean
MBean interface for monitoring a PooledParallelSender.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether direct buffers are used.intReturns the number of senders currently available in the pool.intReturns the number of senders currently in use.intReturns the number of keep-alive messages before a connection check.longReturns the keep-alive interval in milliseconds.intReturns the maximum number of retry attempts.longReturns the maximum wait time in milliseconds for a sender from the pool.booleanReturns whether out-of-band data is processed inline.intReturns the size of the sender pool.intReturns the receive buffer size.booleanReturns whether SO_KEEPALIVE is enabled.booleanReturns whether SO_LINGER is enabled.intReturns the SO_LINGER timeout value.booleanReturns whether SO_REUSEADDR is enabled.intReturns the IP traffic class value.booleanReturns whether TCP_NODELAY is enabled.booleanReturns whether an exception is thrown on failed acknowledgement.longReturns the socket timeout in milliseconds.intReturns the transmit buffer size.intReturns the UDP receive buffer size.intReturns the UDP transmit buffer size.booleanReturns whether the sender is currently connected.
-
Method Details
-
getRxBufSize
int getRxBufSize()Returns the receive buffer size.- Returns:
- the receive buffer size
-
getTxBufSize
int getTxBufSize()Returns the transmit buffer size.- Returns:
- the transmit buffer size
-
getUdpRxBufSize
int getUdpRxBufSize()Returns the UDP receive buffer size.- Returns:
- the UDP receive buffer size
-
getUdpTxBufSize
int getUdpTxBufSize()Returns the UDP transmit buffer size.- Returns:
- the UDP transmit buffer size
-
getDirectBuffer
boolean getDirectBuffer()Returns whether direct buffers are used.- Returns:
- true if direct buffers are used
-
getKeepAliveCount
int getKeepAliveCount()Returns the number of keep-alive messages before a connection check.- Returns:
- the keep-alive count
-
getKeepAliveTime
long getKeepAliveTime()Returns the keep-alive interval in milliseconds.- Returns:
- the keep-alive time
-
getTimeout
long getTimeout()Returns the socket timeout in milliseconds.- Returns:
- the timeout
-
getMaxRetryAttempts
int getMaxRetryAttempts()Returns the maximum number of retry attempts.- Returns:
- the maximum retry attempts
-
getOoBInline
boolean getOoBInline()Returns whether out-of-band data is processed inline.- Returns:
- true if OOB data is processed inline
-
getSoKeepAlive
boolean getSoKeepAlive()Returns whether SO_KEEPALIVE is enabled.- Returns:
- true if SO_KEEPALIVE is enabled
-
getSoLingerOn
boolean getSoLingerOn()Returns whether SO_LINGER is enabled.- Returns:
- true if SO_LINGER is enabled
-
getSoLingerTime
int getSoLingerTime()Returns the SO_LINGER timeout value.- Returns:
- the SO_LINGER time
-
getSoReuseAddress
boolean getSoReuseAddress()Returns whether SO_REUSEADDR is enabled.- Returns:
- true if SO_REUSEADDR is enabled
-
getSoTrafficClass
int getSoTrafficClass()Returns the IP traffic class value.- Returns:
- the traffic class
-
getTcpNoDelay
boolean getTcpNoDelay()Returns whether TCP_NODELAY is enabled.- Returns:
- true if TCP_NODELAY is enabled
-
getThrowOnFailedAck
boolean getThrowOnFailedAck()Returns whether an exception is thrown on failed acknowledgement.- Returns:
- true if exceptions are thrown on failed ack
-
getPoolSize
int getPoolSize()Returns the size of the sender pool.- Returns:
- the pool size
-
getMaxWait
long getMaxWait()Returns the maximum wait time in milliseconds for a sender from the pool.- Returns:
- the maximum wait time
-
isConnected
boolean isConnected()Returns whether the sender is currently connected.- Returns:
- true if connected
-
getInPoolSize
int getInPoolSize()Returns the number of senders currently available in the pool.- Returns:
- the number of senders in the pool
-
getInUsePoolSize
int getInUsePoolSize()Returns the number of senders currently in use.- Returns:
- the number of senders in use
-