Interface Request<T>

    • Method Detail

      • getRequestId

        long getRequestId()
        Returns:
        The unique request id.
      • onResponse

        void onResponse​(Address sender,
                        Response response)
        Called when a response is received for this response.
      • onNewView

        boolean onNewView​(Set<Address> members)
        Called when the node received a new cluster view.
        Returns:
        true if any of the request targets is not in the view.
      • cancel

        void cancel​(Exception cancellationException)
        Complete the request with an exception and release its resources.