- 所有超级接口:
Comparable<Delayed>,Delayed,Future<V>,ICompletionStage<V>,IFuture<V>,ScheduledFuture<V>
- 所有已知子接口:
IScheduledPromise<V>
- 所有已知实现类:
ScheduledPromise,UniScheduledPromise
定时任务关联的Future。
ps:不能立即获得结果的任务,都应该关联该类型的Future。
- 作者:
- wjybxx date 2023/4/9
-
嵌套类概要
从接口继承的嵌套类/接口 java.util.concurrent.Future
Future.State -
方法概要
从接口继承的方法 cn.wjybxx.concurrent.ICompletionStage
executor, toCompletableFuture, toFuture从接口继承的方法 cn.wjybxx.concurrent.IFuture
asReadonly, await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, catching, catching, catchingAsync, catchingAsync, composeApply, composeApply, composeApplyAsync, composeApplyAsync, composeCall, composeCall, composeCallAsync, composeCallAsync, composeCatching, composeCatching, composeCatchingAsync, composeCatchingAsync, composeHandle, composeHandle, composeHandleAsync, composeHandleAsync, exceptionNow, exceptionNow, get, get, getNow, getNow, handle, handle, handleAsync, handleAsync, isCancelled, isComputing, isDone, isFailed, isFailedOrCancelled, isPending, isSucceeded, join, onCompleted, onCompleted, onCompleted, onCompleted, onCompletedAsync, onCompletedAsync, onCompletedAsync, onCompletedAsync, resultNow, state, status, thenAccept, thenAccept, thenAcceptAsync, thenAcceptAsync, thenApply, thenApply, thenApplyAsync, thenApplyAsync, thenCall, thenCall, thenCallAsync, thenCallAsync, thenRun, thenRun, thenRunAsync, thenRunAsync, whenComplete, whenComplete, whenCompleteAsync, whenCompleteAsync
-
方法详细资料
-
getDelay
获取任务下次执行的延迟。 ps:该接口的可见性取决于实现,某些实现不提供即时的可见性,查询可能是不准确的。 -
compareTo
已过时。该接口并不是提供给用户的,用户不应当调用该方法,实现类也不一定实现该方法。- 指定者:
compareTo在接口中Comparable<V>
-