java.lang.Object
io.lettuce.core.output.CommandOutput<K,V,T>
io.lettuce.core.output.ScanOutput<K,V,StreamScanCursor>
io.lettuce.core.output.KeyScanStreamingOutput<K,V>
- Type Parameters:
K- Key type.V- Value type.
public class KeyScanStreamingOutput<K,V> extends ScanOutput<K,V,StreamScanCursor>
Streaming API for multiple Keys. You can implement this interface in order to receive a call to
onKey on every key.
Key uniqueness is not guaranteed.- Author:
- Mark Paluch
-
Field Summary
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output -
Constructor Summary
Constructors Constructor Description KeyScanStreamingOutput(RedisCodec<K,V> codec, KeyStreamingChannel<K> channel) -
Method Summary
Modifier and Type Method Description protected voidsetOutput(ByteBuffer bytes)Methods inherited from class io.lettuce.core.output.ScanOutput
setMethods inherited from class io.lettuce.core.output.CommandOutput
complete, decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, set, setBigNumber, setError, setError, setSingle, toString
-
Constructor Details
-
KeyScanStreamingOutput
-
-
Method Details
-
setOutput
- Specified by:
setOutputin classScanOutput<K,V,StreamScanCursor>
-