java.lang.Object
io.lettuce.core.output.CommandOutput<K,V,PendingMessages>
io.lettuce.core.output.PendingMessagesOutput<K,V>
- Type Parameters:
K- Key type.V- Value type.
public class PendingMessagesOutput<K,V> extends CommandOutput<K,V,PendingMessages>
Decodes
PendingMessages.- Since:
- 6.0
- Author:
- Mark Paluch
-
Field Summary
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output -
Constructor Summary
Constructors Constructor Description PendingMessagesOutput(RedisCodec<K,V> codec) -
Method Summary
Modifier and Type Method Description voidcomplete(int depth)Mark the command output complete.voidset(long integer)Update the command output with a 64-bit signed integer.voidset(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, setBigNumber, setError, setError, setSingle, toString
-
Constructor Details
-
PendingMessagesOutput
-
-
Method Details
-
set
Description copied from class:CommandOutputUpdate the command output with a sequence of bytes, ornull. ConcreteCommandOutputimplementations must override this method to decodebulk/bytes response values.- Overrides:
setin classCommandOutput<K,V,PendingMessages>- Parameters:
bytes- The command output, or null.
-
set
public void set(long integer)Description copied from class:CommandOutputUpdate the command output with a 64-bit signed integer. ConcreteCommandOutputimplementations must override this method to decodenumber(integer) response values.- Overrides:
setin classCommandOutput<K,V,PendingMessages>- Parameters:
integer- The command output.
-
complete
public void complete(int depth)Description copied from class:CommandOutputMark the command output complete.- Overrides:
completein classCommandOutput<K,V,PendingMessages>- Parameters:
depth- Remaining depth of output queue.
-