Interface SessionAttributes


public interface SessionAttributes
Session Attributes.

This encapsulates the basic attributes of a Session. These attributes may be set (unless default values are sufficient) on the SessionFactory used to create sessions.

Since:
5.0
Author:
DiffusionData Limited
  • Field Details

    • DEFAULT_CONNECTION_TIMEOUT

      static final int DEFAULT_CONNECTION_TIMEOUT
      The default connection timeout = 2 seconds.
      See Also:
    • DEFAULT_RECONNECTION_TIMEOUT

      static final int DEFAULT_RECONNECTION_TIMEOUT
      The default reconnection timeout = 60 seconds.
      Since:
      5.5
      See Also:
    • DEFAULT_WRITE_TIMEOUT

      static final int DEFAULT_WRITE_TIMEOUT
      The default write timeout for blocking writes = 2 seconds.
      See Also:
    • DEFAULT_MAXIMUM_MESSAGE_SIZE

      static final int DEFAULT_MAXIMUM_MESSAGE_SIZE
      The default maximum message size in bytes. The maximum message size limits the size of received messages. This default value is is Integer.MAX_VALUE, so the message size is effectively unlimited.
      See Also:
    • MAXIMUM_MESSAGE_SIZE_MIN

      static final int MAXIMUM_MESSAGE_SIZE_MIN
      The minimum value that the maximum message size can be set to in bytes.
      See Also:
    • DEFAULT_INPUT_BUFFER_SIZE

      static final int DEFAULT_INPUT_BUFFER_SIZE
      The default size of socket and message input buffers in bytes.
      See Also:
    • DEFAULT_OUTPUT_BUFFER_SIZE

      static final int DEFAULT_OUTPUT_BUFFER_SIZE
      The default size of socket and message output buffers in bytes.
      See Also:
    • DEFAULT_RECOVERY_BUFFER_SIZE

      static final int DEFAULT_RECOVERY_BUFFER_SIZE
      The default recovery buffer size in messages.
      Since:
      5.8
      See Also:
    • DEFAULT_MAXIMUM_QUEUE_SIZE

      static final int DEFAULT_MAXIMUM_QUEUE_SIZE
      The default maximum outbound queue size in messages.
      Since:
      5.9
      See Also:
    • DEFAULT_REQUEST_PATH

      static final String DEFAULT_REQUEST_PATH
      The default request path.
      Since:
      6.0
      See Also:
  • Method Details