K - Key type.V - Value type.public class StringListOutput<K,V> extends CommandOutput<K,V,List<String>> implements StreamingOutput<String>
List of string output.StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
StringListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
StreamingOutput.Subscriber<String> |
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 |
setSubscriber(StreamingOutput.Subscriber<String> subscriber)
Sets the
StreamingOutput.Subscriber. |
complete, decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, set, set, setBigNumber, setError, setError, setSingle, toStringpublic StringListOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutputnull. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.public void multi(int count)
CommandOutputpublic void setSubscriber(StreamingOutput.Subscriber<String> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<String>public StreamingOutput.Subscriber<String> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<String>Copyright © 2021 lettuce.io. All rights reserved.