Class DelegatingScheduler.ScheduledCompletableFuture<V>
java.lang.Object
java.util.concurrent.CompletableFuture<V>
dev.failsafe.internal.util.DelegatingScheduler.ScheduledCompletableFuture<V>
- All Implemented Interfaces:
Comparable<Delayed>, CompletionStage<V>, Delayed, Future<V>, ScheduledFuture<V>
- Enclosing class:
DelegatingScheduler
static final class DelegatingScheduler.ScheduledCompletableFuture<V>
extends CompletableFuture<V>
implements ScheduledFuture<V>
-
Nested Class Summary
Nested classes/interfaces inherited from class CompletableFuture
CompletableFuture.AsynchronousCompletionTask -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, 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, whenCompleteAsyncMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Future
get, get, isCancelled, isDone
-
Field Details
-
delegate
-
forkJoinPoolThread
Thread forkJoinPoolThread -
time
private final long time
-
-
Constructor Details
-
ScheduledCompletableFuture
ScheduledCompletableFuture(long delay, TimeUnit unit)
-
-
Method Details
-
getDelay
-
compareTo
- Specified by:
compareToin interfaceComparable<V>
-
cancel
-