Class SingleSiteRequest<T>

  • All Implemented Interfaces:
    Callable<Void>, CompletionStage<T>, Future<T>, org.infinispan.remoting.transport.impl.Request<T>

    public class SingleSiteRequest<T>
    extends AbstractRequest<T>
    Request implementation that waits for a response from a single target site.
    Since:
    9.1
    Author:
    Dan Berindei
    • Method Detail

      • onResponse

        public void onResponse​(Address sender,
                               Response response)
        Description copied from interface: org.infinispan.remoting.transport.impl.Request
        Called when a response is received for this response.
      • onNewView

        public boolean onNewView​(Set<Address> members)
        Description copied from interface: org.infinispan.remoting.transport.impl.Request
        Called when the node received a new cluster view.
        Returns:
        true if any of the request targets is not in the view.
      • sitesUnreachable

        public void sitesUnreachable​(String unreachableSite)