Interface XSiteResponse<O>
- All Superinterfaces:
CompletionStage<O>
- All Known Implementing Classes:
SiteUnreachableXSiteResponse
,XSiteResponseImpl
An extension to
CompletionStage
with whenCompleted(XSiteResponseCompleted)
.
It provides a method to register the cross-site request statistics and data for the OfflineStatus
.
Note: do not complete the CompletableFuture
returned by CompletionStage.toCompletableFuture()
.
- Since:
- 10.0
- Author:
- Pedro Ruivo
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
whenCompleted
(XSiteResponse.XSiteResponseCompleted xSiteResponseCompleted) 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
-
whenCompleted
-