Interface XSiteResponse<O>

All Superinterfaces:
CompletionStage<O>
All Known Implementing Classes:
SiteUnreachableXSiteResponse, XSiteResponseImpl

public interface XSiteResponse<O> extends CompletionStage<O>
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