K - Key type.V - Value type.public class StringValueListOutput<K,V> extends CommandOutput<K,V,List<Value<String>>> implements StreamingOutput<Value<String>>
StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
StringValueListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
StreamingOutput.Subscriber<Value<String>> |
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 |
setSubscriber(StreamingOutput.Subscriber<Value<String>> subscriber)
Sets the
StreamingOutput.Subscriber. |
public StringValueListOutput(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 multi(int count)
CommandOutputpublic void setSubscriber(StreamingOutput.Subscriber<Value<String>> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<Value<String>>public StreamingOutput.Subscriber<Value<String>> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<Value<String>>Copyright © 2019 lettuce.io. All rights reserved.