Interface RetryAwareCompletionStage<E>
- All Superinterfaces:
CompletionStage<E>
- All Known Implementing Classes:
GetWithMetadataOperation
-
Method Summary
Modifier and TypeMethodDescriptionReturns whether this operation had to be retried on another server than the first one picked.Methods inherited from interface java.util.concurrent.CompletionStage
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, handle, handleAsync, handleAsync, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsync
-
Method Details
-
wasRetried
Boolean wasRetried()Returns whether this operation had to be retried on another server than the first one picked.- Returns:
trueif the operation had to be retried on another server,falseif it completed without retry ornullif the operation is not yet complete.
-