Class QueueAddParams<V>

java.lang.Object
org.redisson.api.BaseSyncParams<QueueAddArgs<V>>
org.redisson.api.queue.QueueAddParams<V>
All Implemented Interfaces:
QueueAddArgs<V>, SyncArgs<QueueAddArgs<V>>

public final class QueueAddParams<V> extends BaseSyncParams<QueueAddArgs<V>> implements QueueAddArgs<V>
  • Constructor Details

  • Method Details

    • getMsgs

      public MessageArgs<V>[] getMsgs()
    • timeout

      public QueueAddArgs<V> timeout(Duration value)
      Description copied from interface: QueueAddArgs
      Sets the maximum time to wait when adding messages to a full queue with a limited size.
      Specified by:
      timeout in interface QueueAddArgs<V>
      Parameters:
      value - the maximum time to wait
      Returns:
      arguments object
    • headersCodec

      public QueueAddArgs<V> headersCodec(Codec codec)
      Description copied from interface: QueueAddArgs
      Sets the codec to be used for encoding and decoding message headers.
      Specified by:
      headersCodec in interface QueueAddArgs<V>
      Parameters:
      codec - the codec
      Returns:
      arguments object
    • getHeadersCodec

      public Codec getHeadersCodec()
    • getTimeout

      public Duration getTimeout()