Class NamedConsumer<T>
- java.lang.Object
-
- org.apache.flink.runtime.asyncprocessing.declare.NamedCallback
-
- org.apache.flink.runtime.asyncprocessing.declare.NamedConsumer<T>
-
- All Implemented Interfaces:
org.apache.flink.util.function.ThrowingConsumer<T,Exception>
@Experimental public class NamedConsumer<T> extends NamedCallback implements org.apache.flink.util.function.ThrowingConsumer<T,Exception>
A named version ofConsumer
.
-
-
Constructor Summary
Constructors Constructor Description NamedConsumer(String name, org.apache.flink.util.function.ThrowingConsumer<? super T,? extends Exception> consumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(T t)
-
Methods inherited from class org.apache.flink.runtime.asyncprocessing.declare.NamedCallback
getName
-
-