Interface KeyGroupPartitioner.KeyGroupElementsConsumer<T>

Type Parameters:
T - type of the consumed elements.
Enclosing class:
KeyGroupPartitioner<T>
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 static interface KeyGroupPartitioner.KeyGroupElementsConsumer<T>
Functional interface to consume elements from a key group.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    consume(T element, int keyGroupId)
     
  • Method Details