Interface ResponseFuture<R extends Response>

    • Method Detail

      • set

        void set​(R response)
          throws InterruptedException
        Set the associated Response in this Future
        Parameters:
        response - The response to add into the Future
        Throws:
        InterruptedException - if the operation has been cancelled by client
      • setCause

        void setCause​(Throwable cause)
        Associate a cause to the ResponseFuture
        Parameters:
        cause - the cause to set
      • cancel

        void cancel()
        Cancel the Future