Package org.infinispan.scattered
Interface BiasManager.Revocation
- All Superinterfaces:
BiConsumer<Object,
Throwable>
- Enclosing interface:
- BiasManager
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
biased()
void
complete()
void
fail()
<T> CompletableFuture<T>
handleCompose
(Supplier<CompletionStage<T>> supplier) Similar toCompletableFuture.thenCompose(Function)
, returns future provided by the supplier after the current revocation has been finishedboolean
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Method Details
-
shouldRevoke
boolean shouldRevoke() -
biased
-
complete
void complete() -
fail
void fail() -
toCompletionStage
CompletionStage<?> toCompletionStage() -
handleCompose
Similar toCompletableFuture.thenCompose(Function)
, returns future provided by the supplier after the current revocation has been finished- Parameters:
supplier
-- Returns:
-
accept
- Specified by:
accept
in interfaceBiConsumer<Object,
Throwable>
-