K - Key type.V - Value type.public class KeyValueStreamingOutput<K,V> extends CommandOutput<K,V,Long>
codec, error, output| Constructor and Description |
|---|
KeyValueStreamingOutput(RedisCodec<K,V> codec,
KeyValueStreamingChannel<K,V> channel) |
KeyValueStreamingOutput(RedisCodec<K,V> codec,
KeyValueStreamingChannel<K,V> channel,
Iterable<K> keys) |
| Modifier and Type | Method and Description |
|---|---|
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
public KeyValueStreamingOutput(RedisCodec<K,V> codec, KeyValueStreamingChannel<K,V> channel)
public KeyValueStreamingOutput(RedisCodec<K,V> codec, KeyValueStreamingChannel<K,V> channel, Iterable<K> keys)
public void set(ByteBuffer bytes)
CommandOutputCommandOutput implementations must override this
method unless they only receive an integer value which cannot be null.set in class CommandOutput<K,V,Long>bytes - The command output, or null.Copyright © 2021 lettuce.io. All rights reserved.