public class FirstSuccessfullyCompletedFutureConsumer<T> extends Object implements java.util.function.BiConsumer<T,Throwable>
| Constructor and Description |
|---|
FirstSuccessfullyCompletedFutureConsumer(int pendingFutures,
java.util.function.BiConsumer<T,Throwable> callback,
java.util.function.Consumer<T> closer) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T result,
Throwable failure) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic FirstSuccessfullyCompletedFutureConsumer(int pendingFutures,
java.util.function.BiConsumer<T,Throwable> callback,
java.util.function.Consumer<T> closer)
public void accept(T result, Throwable failure)
accept in interface java.util.function.BiConsumer<T,Throwable>Copyright © 2017–2019 camunda services GmbH. All rights reserved.