K - Key type.V - Value type.public class ValueValueListOutput<K,V> extends CommandOutput<K,V,List<Value<V>>> implements StreamingOutput<Value<V>>
StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
ValueValueListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
StreamingOutput.Subscriber<Value<V>> |
getSubscriber()
Retrieves the
StreamingOutput.Subscriber. |
void |
multi(int count)
Mark the beginning of a multi sequence (array).
|
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.
|
void |
setSubscriber(StreamingOutput.Subscriber<Value<V>> subscriber)
Sets the
StreamingOutput.Subscriber. |
complete, decodeAscii, get, getError, hasError, setError, setError, setSingle, toStringpublic ValueValueListOutput(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.public void set(long integer)
CommandOutputCommandOutput implementations must override this
method unless they only receive a byte array value.public void multi(int count)
CommandOutputpublic void setSubscriber(StreamingOutput.Subscriber<Value<V>> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<Value<V>>public StreamingOutput.Subscriber<Value<V>> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<Value<V>>Copyright © 2020 lettuce.io. All rights reserved.