public class DefaultFuture extends CompletableFuture<Object>
CompletableFuture.AsynchronousCompletionTask| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultFuture |
newFuture(Channel channel,
Request request,
int timeout) |
static DefaultFuture |
newFuture(Channel channel,
Request request,
int timeout,
ExecutorService executor) |
static void |
received(Channel channel,
Response response,
boolean timeout) |
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completedFuture, completeExceptionally, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, obtrudeException, obtrudeValue, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsyncpublic static DefaultFuture newFuture(Channel channel, Request request, int timeout)
public static DefaultFuture newFuture(Channel channel, Request request, int timeout, ExecutorService executor)
Copyright © 2020. All rights reserved.