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 java.lang.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()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.kafka.common.KafkaFuture.BaseFunction
apply
-
-