Package org.apache.kafka.common
Class KafkaFuture.Function<A,B>
- java.lang.Object
-
- org.apache.kafka.common.KafkaFuture.Function<A,B>
-
- All Implemented Interfaces:
KafkaFuture.BaseFunction<A,B>
- Enclosing class:
- KafkaFuture<T>
public abstract static class KafkaFuture.Function<A,B> extends Object implements KafkaFuture.BaseFunction<A,B>
A function which takes objects of type A and returns objects of type B. Prefer the functional interfaceKafkaFuture.BaseFunction
over the classKafkaFuture.Function
. This class is here for backwards compatibility reasons and might be deprecated/removed in a future release.
-
-
Constructor Summary
Constructors Constructor Description Function()
-