Interface RequestCallback<T>

    • Method Detail

      • onResponse

        void onResponse​(Message<T> msg)
        Parameters:
        msg - response received.
      • invokeOnFailure

        default boolean invokeOnFailure()
        Returns:
        true if the callback should be invoked on failure
      • trackLatencyForSnitch

        default boolean trackLatencyForSnitch()
        Returns:
        true if this callback is on the read path and its latency should be given as input to the dynamic snitch.