Package org.infinispan.interceptors.impl
Class ScatteredCacheWriterInterceptor.LockTimeoutFuture
- java.lang.Object
-
- java.util.concurrent.CompletableFuture<Void>
-
- org.infinispan.interceptors.impl.ScatteredCacheWriterInterceptor.LockTimeoutFuture
-
- All Implemented Interfaces:
Runnable
,CompletionStage<Void>
,Future<Void>
,BiConsumer<Object,Throwable>
- Enclosing class:
- ScatteredCacheWriterInterceptor
public class ScatteredCacheWriterInterceptor.LockTimeoutFuture extends CompletableFuture<Void> implements Runnable, BiConsumer<Object,Throwable>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Object o, Throwable throwable)
void
run()
void
setCancellation(ScheduledFuture<?> cancellation)
-
Methods inherited from class 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, newIncompleteFuture, 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, toString, whenComplete, whenCompleteAsync, whenCompleteAsync
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Method Detail
-
accept
public void accept(Object o, Throwable throwable)
- Specified by:
accept
in interfaceBiConsumer<Object,Throwable>
-
setCancellation
public void setCancellation(ScheduledFuture<?> cancellation)
-
-