K
- Key type.V
- Value type.public class KeyListOutput<K,V> extends CommandOutput<K,V,List<K>> implements StreamingOutput<K>
List
of keys output.StreamingOutput.Subscriber<T>
codec, error, output
Constructor and Description |
---|
KeyListOutput(RedisCodec<K,V> codec) |
Modifier and Type | Method and Description |
---|---|
StreamingOutput.Subscriber<K> |
getSubscriber()
Retrieves the
StreamingOutput.Subscriber . |
void |
multi(int count) |
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
setSubscriber(StreamingOutput.Subscriber<K> subscriber)
Sets the
StreamingOutput.Subscriber . |
public KeyListOutput(RedisCodec<K,V> codec)
public void set(ByteBuffer bytes)
CommandOutput
CommandOutput
implementations must override this
method unless they only receive an integer value which cannot be null.public void setSubscriber(StreamingOutput.Subscriber<K> subscriber)
StreamingOutput
StreamingOutput.Subscriber
.setSubscriber
in interface StreamingOutput<K>
public StreamingOutput.Subscriber<K> getSubscriber()
StreamingOutput
StreamingOutput.Subscriber
.getSubscriber
in interface StreamingOutput<K>
Copyright © 2018 lettuce.io. All rights reserved.