public static interface BiasManager.Revocation extends BiConsumer<Object,Throwable>
Modifier and Type | Method and Description |
---|---|
default void |
accept(Object nil,
Throwable throwable) |
List<Address> |
biased() |
void |
complete() |
void |
fail() |
<T> CompletableFuture<T> |
handleCompose(Supplier<CompletionStage<T>> supplier)
Similar to
CompletableFuture.thenCompose(Function) , returns future provided by the supplier
after the current revocation has been finished |
boolean |
shouldRevoke() |
CompletionStage<?> |
toCompletionStage() |
andThen
boolean shouldRevoke()
void complete()
void fail()
CompletionStage<?> toCompletionStage()
<T> CompletableFuture<T> handleCompose(Supplier<CompletionStage<T>> supplier)
CompletableFuture.thenCompose(Function)
, returns future provided by the supplier
after the current revocation has been finishedsupplier
- Copyright © 2021 JBoss by Red Hat. All rights reserved.