Package org.infinispan.scattered
Interface BiasManager.Revocation
- All Superinterfaces:
BiConsumer<Object,Throwable>
- Enclosing interface:
- BiasManager
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidbiased()voidcomplete()voidfail()<T> CompletableFuture<T>handleCompose(Supplier<CompletionStage<T>> supplier) Similar toCompletableFuture.thenCompose(Function), returns future provided by the supplier after the current revocation has been finishedbooleanMethods 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:
acceptin interfaceBiConsumer<Object,Throwable>
-