Class R2TransportClient.R2TransportClientCallback

java.lang.Object
com.linkedin.venice.client.store.transport.TransportClientCallback
com.linkedin.venice.fastclient.transport.R2TransportClient.R2TransportClientCallback
All Implemented Interfaces:
com.linkedin.common.callback.Callback<com.linkedin.r2.message.rest.RestResponse>, com.linkedin.common.callback.SuccessCallback<com.linkedin.r2.message.rest.RestResponse>
Enclosing class:
R2TransportClient

public static class R2TransportClient.R2TransportClientCallback extends TransportClientCallback implements com.linkedin.common.callback.Callback<com.linkedin.r2.message.rest.RestResponse>
  • Constructor Details

  • Method Details

    • onError

      public void onError(Throwable e)
      Specified by:
      onError in interface com.linkedin.common.callback.Callback<com.linkedin.r2.message.rest.RestResponse>
    • onSuccess

      public void onSuccess(com.linkedin.r2.message.rest.RestResponse result)
      Specified by:
      onSuccess in interface com.linkedin.common.callback.SuccessCallback<com.linkedin.r2.message.rest.RestResponse>