Package org.redisson.api.queue
Class QueueAddParams<V>
- All Implemented Interfaces:
QueueAddArgs<V>,SyncArgs<QueueAddArgs<V>>
public final class QueueAddParams<V>
extends BaseSyncParams<QueueAddArgs<V>>
implements QueueAddArgs<V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMessageArgs<V>[]getMsgs()headersCodec(Codec codec) Sets the codec to be used for encoding and decoding message headers.Sets the maximum time to wait when adding messages to a full queue with a limited size.Methods inherited from class org.redisson.api.BaseSyncParams
getSyncFailureMode, getSyncMode, getSyncTimeout, syncFailureMode, syncMode, syncTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.redisson.api.SyncArgs
syncFailureMode, syncMode, syncTimeout
-
Constructor Details
-
QueueAddParams
-
-
Method Details
-
getMsgs
-
timeout
Description copied from interface:QueueAddArgsSets the maximum time to wait when adding messages to a full queue with a limited size.- Specified by:
timeoutin interfaceQueueAddArgs<V>- Parameters:
value- the maximum time to wait- Returns:
- arguments object
-
headersCodec
Description copied from interface:QueueAddArgsSets the codec to be used for encoding and decoding message headers.- Specified by:
headersCodecin interfaceQueueAddArgs<V>- Parameters:
codec- the codec- Returns:
- arguments object
-
getHeadersCodec
-
getTimeout
-