Class TransportClientResponseForRoute
java.lang.Object
com.linkedin.venice.client.store.transport.TransportClientResponse
com.linkedin.venice.fastclient.transport.TransportClientResponseForRoute
-
Constructor Summary
ConstructorDescriptionTransportClientResponseForRoute
(String routeId, int schemaId, CompressionStrategy compressionStrategy, byte[] body, CompletableFuture<Integer> routeRequestFuture) -
Method Summary
Modifier and TypeMethodDescriptionboolean
fromTransportClientWithRoute
(TransportClientResponse transportClientResponse, String replicaId, CompletableFuture<Integer> routeRequestFuture) int
hashCode()
Methods inherited from class com.linkedin.venice.client.store.transport.TransportClientResponse
getBody, getCompressionStrategy, getSchemaId, isSchemaIdValid
-
Constructor Details
-
TransportClientResponseForRoute
public TransportClientResponseForRoute(String routeId, int schemaId, CompressionStrategy compressionStrategy, byte[] body, CompletableFuture<Integer> routeRequestFuture)
-
-
Method Details
-
getRouteRequestFuture
-
fromTransportClientWithRoute
public static TransportClientResponseForRoute fromTransportClientWithRoute(TransportClientResponse transportClientResponse, String replicaId, CompletableFuture<Integer> routeRequestFuture) -
getRouteId
-
equals
- Overrides:
equals
in classTransportClientResponse
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTransportClientResponse
-