Interface XSiteResponse

  • All Superinterfaces:
    java.util.concurrent.CompletionStage<java.lang.Void>

    public interface XSiteResponse
    extends java.util.concurrent.CompletionStage<java.lang.Void>
    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
    • 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