- java.lang.Object
-
- java.util.concurrent.CompletableFuture<T>
-
- org.redkale.net.client.ClientFuture<R,T>
-
- 类型参数:
R- 泛型T- 泛型
- 所有已实现的接口:
Runnable,CompletionStage<T>,Future<T>
public class ClientFuture<R extends ClientRequest,T> extends CompletableFuture<T> implements Runnable
- 从以下版本开始:
- 2.3.0
- 作者:
- zhangjx
-
-
嵌套类概要
-
从类继承的嵌套类/接口 java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask
-
-
字段概要
字段 修饰符和类型 字段 说明 protected ClientConnectionconnprotected Rrequest
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 RgetRequest()<U> ClientFuture<R,U>newIncompleteFuture()voidrun()StringtoString()-
从类继承的方法 java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, obtrudeException, obtrudeValue, orTimeout, 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, whenComplete, whenCompleteAsync, whenCompleteAsync
-
-
-
-
字段详细资料
-
request
@Nonnull protected final R extends ClientRequest request
-
conn
@Nonnull protected final ClientConnection conn
-
-
方法详细资料
-
newIncompleteFuture
public <U> ClientFuture<R,U> newIncompleteFuture()
- 覆盖:
newIncompleteFuture在类中CompletableFuture<T>
-
getRequest
public R getRequest()
-
toString
public String toString()
- 覆盖:
toString在类中CompletableFuture<T>
-
-