Class Response<RSP extends Serializable,​EXC extends Throwable>

    • Method Detail

      • getRequest

        public Request<?,​?> getRequest()
        Obtains the matching request.
        null if this response has not been processed successfully
      • getReturnValue

        public RSP getReturnValue()
        Gets the return value of the response.
        null in case getException() is non-null
      • getException

        public EXC getException()
        Gets the exception thrown by the response.
        null in case getReturnValue() is non-null
      • getTotalTime

        public long getTotalTime()
        Gets the total time taken on the local side to send the request and receive the response.
        the total time in nanoseconds, or zero if unknown, including if this response is being sent to a remote request