K - Key type.V - Value type.public class PendingMessageListOutput<K,V> extends CommandOutput<K,V,List<PendingMessage>> implements StreamingOutput<PendingMessage>
PendingMessage.StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
PendingMessageListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
StreamingOutput.Subscriber<PendingMessage> |
getSubscriber()
Retrieves the
StreamingOutput.Subscriber. |
void |
multi(int count)
Mark the beginning of a multi sequence (array).
|
void |
set(ByteBuffer bytes)
Update the command output with a sequence of bytes, or
null. |
void |
set(long integer)
Update the command output with a 64-bit signed integer.
|
void |
setSubscriber(StreamingOutput.Subscriber<PendingMessage> subscriber)
Sets the
StreamingOutput.Subscriber. |
complete, decodeString, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toStringpublic PendingMessageListOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutputnull. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.set in class CommandOutput<K,V,List<PendingMessage>>bytes - The command output, or null.public void set(long integer)
CommandOutputCommandOutput implementations must override this
method to decode number (integer) response values.set in class CommandOutput<K,V,List<PendingMessage>>integer - The command output.public void multi(int count)
CommandOutputmulti in class CommandOutput<K,V,List<PendingMessage>>count - expected number of elements in this multi sequence.public void setSubscriber(StreamingOutput.Subscriber<PendingMessage> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<PendingMessage>public StreamingOutput.Subscriber<PendingMessage> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<PendingMessage>Copyright © 2025 lettuce.io. All rights reserved.