- 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 to
onKey on every key.
Key uniqueness is not guaranteed.- Since:
- 3.0
- Author:
- Mark Paluch
-
Method Summary
-
Method Details
-
onKey
Called on every incoming key.- Parameters:
key- the key
-