Interface XSiteResponse
-
- All Superinterfaces:
java.util.concurrent.CompletionStage<java.lang.Void>
public interface XSiteResponse extends java.util.concurrent.CompletionStage<java.lang.Void>
An extension toCompletionStage
withwhenCompleted(XSiteResponseCompleted)
.It provides a method to register the cross-site request statistics and data for the
OfflineStatus
.Note: do not complete the
CompletableFuture
returned byCompletionStage.toCompletableFuture()
.- Since:
- 10.0
- Author:
- Pedro Ruivo
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XSiteResponse.XSiteResponseCompleted
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
whenCompleted(XSiteResponse.XSiteResponseCompleted xSiteResponseCompleted)
-
Methods inherited from interface java.util.concurrent.CompletionStage
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, 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 Detail
-
whenCompleted
void whenCompleted(XSiteResponse.XSiteResponseCompleted xSiteResponseCompleted)
-
-