Class TimeoutOptions

  • All Implemented Interfaces:
    Serializable

    public class TimeoutOptions
    extends Object
    implements Serializable
    Options for command timeouts. These options configure how and whether commands time out once they were dispatched. Command timeout begins:
    • When the command is sent successfully to the transport
    • Queued while the connection was inactive
    The timeout is canceled upon command completion/cancellation. Timeouts are not tied to a specific API and expire commands regardless of the synchronization method provided by the API that was used to enqueue the command.
    Since:
    5.1
    Author:
    Mark Paluch
    See Also:
    Serialized Form