Class TransportClientCallback
java.lang.Object
com.linkedin.venice.client.store.transport.TransportClientCallback
- Direct Known Subclasses:
R2TransportClient.R2TransportClientCallback
Define the common functions for call back of
TransportClient
-
Constructor Summary
ConstructorDescriptionTransportClientCallback
(CompletableFuture<TransportClientResponse> valueFuture) -
Method Summary
Modifier and TypeMethodDescriptionvoid
completeFuture
(int statusCode, int schemaId, CompressionStrategy compressionStrategy, byte[] body)
-
Constructor Details
-
TransportClientCallback
-
-
Method Details
-
getValueFuture
-
completeFuture
public void completeFuture(int statusCode, int schemaId, CompressionStrategy compressionStrategy, byte[] body)
-