Interface PooledParallelSenderMBean

All Known Implementing Classes:
PooledParallelSender

public interface PooledParallelSenderMBean
MBean interface for monitoring a PooledParallelSender.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether direct buffers are used.
    int
    Returns the number of senders currently available in the pool.
    int
    Returns the number of senders currently in use.
    int
    Returns the number of keep-alive messages before a connection check.
    long
    Returns the keep-alive interval in milliseconds.
    int
    Returns the maximum number of retry attempts.
    long
    Returns the maximum wait time in milliseconds for a sender from the pool.
    boolean
    Returns whether out-of-band data is processed inline.
    int
    Returns the size of the sender pool.
    int
    Returns the receive buffer size.
    boolean
    Returns whether SO_KEEPALIVE is enabled.
    boolean
    Returns whether SO_LINGER is enabled.
    int
    Returns the SO_LINGER timeout value.
    boolean
    Returns whether SO_REUSEADDR is enabled.
    int
    Returns the IP traffic class value.
    boolean
    Returns whether TCP_NODELAY is enabled.
    boolean
    Returns whether an exception is thrown on failed acknowledgement.
    long
    Returns the socket timeout in milliseconds.
    int
    Returns the transmit buffer size.
    int
    Returns the UDP receive buffer size.
    int
    Returns the UDP transmit buffer size.
    boolean
    Returns 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