Class XSiteResponseImpl<O>

java.lang.Object
java.util.concurrent.CompletableFuture<O>
org.infinispan.remoting.transport.impl.XSiteResponseImpl<O>
All Implemented Interfaces:
CompletionStage<O>, Future<O>, BiConsumer<ValidResponse,Throwable>, XSiteResponse<O>

public class XSiteResponseImpl<O> extends CompletableFuture<O> implements XSiteResponse<O>, BiConsumer<ValidResponse,Throwable>
Default implementation of XSiteResponse.

It implements BiConsumer in order to be notified when the SingleSiteRequest is completed.

Since:
10.0
Author:
Pedro Ruivo