K - Key type.V - Value type.public class PendingMessagesOutput<K,V> extends CommandOutput<K,V,PendingMessages>
PendingMessages.codec, error, output| Constructor and Description |
|---|
PendingMessagesOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(int depth)
Mark the command output complete.
|
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
set(long integer)
Set the command output to a 64-bit signed integer.
|
decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toStringpublic PendingMessagesOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutputCommandOutput implementations must override this
method unless they only receive an integer value which cannot be null.set in class CommandOutput<K,V,PendingMessages>bytes - The command output, or null.public void set(long integer)
CommandOutputCommandOutput implementations must override this
method unless they only receive a byte array value.set in class CommandOutput<K,V,PendingMessages>integer - The command output.public void complete(int depth)
CommandOutputcomplete in class CommandOutput<K,V,PendingMessages>depth - Remaining depth of output queue.Copyright © 2020 lettuce.io. All rights reserved.