public class DelegatingResultFuture<OUT> extends Object implements java.util.function.BiConsumer<Collection<OUT>,Throwable>
CompletableFuture to ResultFuture.
This is used as a bridge between AsyncTableFunction and
AsyncFunction.| 构造器和说明 |
|---|
DelegatingResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<OUT> delegatedResultFuture) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accept(Collection<OUT> outs,
Throwable throwable) |
CompletableFuture<Collection<OUT>> |
getCompletableFuture() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic DelegatingResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<OUT> delegatedResultFuture)
public void accept(Collection<OUT> outs, Throwable throwable)
accept 在接口中 java.util.function.BiConsumer<Collection<OUT>,Throwable>public CompletableFuture<Collection<OUT>> getCompletableFuture()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.