Package io.lettuce.core.output
Interface KeyStreamingChannel<K>
-
- Type Parameters:
K
- Key type.
- All Superinterfaces:
StreamingChannel
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface KeyStreamingChannel<K> extends StreamingChannel
Streaming API for multiple Keys. You can implement this interface in order to receive a call toonKey
on every key. Key uniqueness is not guaranteed.- Since:
- 3.0
- Author:
- Mark Paluch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onKey(K key)
Called on every incoming key.
-
-
-
Method Detail
-
onKey
void onKey(K key)
Called on every incoming key.- Parameters:
key
- the key
-
-