Package org.redisson.api.fanout
Interface FanoutPublishArgs<V>
- Type Parameters:
V- type
- All Superinterfaces:
SyncArgs<FanoutPublishArgs<V>>
- All Known Implementing Classes:
FanoutPublishParams
Interface defining parameters for queue addition operations.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionheadersCodec(Codec codec) Sets the codec to be used for encoding and decoding message headers.static <V> FanoutPublishArgs<V> messages(MessageArgs<V>... msgs) Defines messages to be added.Methods inherited from interface org.redisson.api.SyncArgs
syncFailureMode, syncMode, syncTimeout
-
Method Details
-
headersCodec
Sets the codec to be used for encoding and decoding message headers.- Parameters:
codec- the codec- Returns:
- arguments object
-
messages
Defines messages to be added.- Parameters:
msgs- The message arguments to be added to the queue- Returns:
- arguments object
-