- 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 ClientConnection
conn
static ClientFuture
NIL
protected R
request
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static ClientFuture[]
array(Collection<ClientFuture> list)
R
getRequest()
<U> ClientFuture<R,U>
newIncompleteFuture()
void
run()
String
toString()
-
从类继承的方法 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
-
-
-
-
字段详细资料
-
NIL
public static final ClientFuture NIL
-
request
@Nonnull protected final R extends ClientRequest request
-
conn
@Nonnull protected final ClientConnection conn
-
-
方法详细资料
-
array
public static ClientFuture[] array(Collection<ClientFuture> list)
-
newIncompleteFuture
public <U> ClientFuture<R,U> newIncompleteFuture()
- 覆盖:
newIncompleteFuture
在类中CompletableFuture<T>
-
getRequest
public R getRequest()
-
toString
public String toString()
- 覆盖:
toString
在类中CompletableFuture<T>
-
-