Package org.apache.flink.util.concurrent
Interface FutureConsumerWithException<T,E extends Throwable>
-
- Type Parameters:
T
- type of the first argumentE
- type of the thrown exception
- All Superinterfaces:
Consumer<T>
public interface FutureConsumerWithException<T,E extends Throwable> extends Consumer<T>
A checked extension of theConsumer
interface which rethrows exceptions wrapped in aCompletionException
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
accept(T value)
void
acceptWithException(T value)
-