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 Summary
ConstructorDescription -
Method Summary
Methods inherited from class com.linkedin.venice.client.store.transport.TransportClientCallback
completeFuture, getValueFuture
-
Constructor Details
-
R2TransportClientCallback
-
-
Method Details
-
onError
- Specified by:
onError
in interfacecom.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 interfacecom.linkedin.common.callback.SuccessCallback<com.linkedin.r2.message.rest.RestResponse>
-