Package io.lettuce.core.output
Class ClaimedMessagesOutput<K,V>
- java.lang.Object
-
- io.lettuce.core.output.CommandOutput<K,V,ClaimedMessages<K,V>>
-
- io.lettuce.core.output.ClaimedMessagesOutput<K,V>
-
- Type Parameters:
K
- Key type.V
- Value type.
public class ClaimedMessagesOutput<K,V> extends CommandOutput<K,V,ClaimedMessages<K,V>>
DecodesClaimedMessages
.- Since:
- 6.1
- Author:
- dengliming
-
-
Field Summary
-
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output
-
-
Constructor Summary
Constructors Constructor Description ClaimedMessagesOutput(RedisCodec<K,V> codec, K stream, boolean justId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete(int depth)
Mark the command output complete.void
set(ByteBuffer bytes)
Update the command output with a sequence of bytes, ornull
.-
Methods inherited from class io.lettuce.core.output.CommandOutput
decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, set, setBigNumber, setError, setError, setSingle, toString
-
-
-
-
Constructor Detail
-
ClaimedMessagesOutput
public ClaimedMessagesOutput(RedisCodec<K,V> codec, K stream, boolean justId)
-
-
Method Detail
-
set
public void set(ByteBuffer bytes)
Description copied from class:CommandOutput
Update the command output with a sequence of bytes, ornull
. ConcreteCommandOutput
implementations must override this method to decodebulk
/bytes response values.- Overrides:
set
in classCommandOutput<K,V,ClaimedMessages<K,V>>
- Parameters:
bytes
- The command output, or null.
-
complete
public void complete(int depth)
Description copied from class:CommandOutput
Mark the command output complete.- Overrides:
complete
in classCommandOutput<K,V,ClaimedMessages<K,V>>
- Parameters:
depth
- Remaining depth of output queue.
-
-