Class TransportClientCallback
- java.lang.Object
-
- com.linkedin.venice.client.store.transport.TransportClientCallback
-
- Direct Known Subclasses:
R2TransportClient.R2TransportClientCallback
public class TransportClientCallback extends java.lang.Object
Define the common functions for call back ofTransportClient
-
-
Constructor Summary
Constructors Constructor Description TransportClientCallback(java.util.concurrent.CompletableFuture<TransportClientResponse> valueFuture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
completeFuture(int statusCode, int schemaId, CompressionStrategy compressionStrategy, byte[] body)
java.util.concurrent.CompletableFuture<TransportClientResponse>
getValueFuture()
-
-
-
Constructor Detail
-
TransportClientCallback
public TransportClientCallback(java.util.concurrent.CompletableFuture<TransportClientResponse> valueFuture)
-
-
Method Detail
-
getValueFuture
public java.util.concurrent.CompletableFuture<TransportClientResponse> getValueFuture()
-
completeFuture
public void completeFuture(int statusCode, int schemaId, CompressionStrategy compressionStrategy, byte[] body)
-
-