Class TransportClientResponse
- java.lang.Object
-
- com.linkedin.venice.client.store.transport.TransportClientResponse
-
- Direct Known Subclasses:
TransportClientResponseForRoute
public class TransportClientResponse extends java.lang.Object
This class is used to capture the result returned byTransportClient
-
-
Constructor Summary
Constructors Constructor Description TransportClientResponse(int schemaId, CompressionStrategy compressionStrategy, byte[] body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
byte[]
getBody()
CompressionStrategy
getCompressionStrategy()
int
getSchemaId()
int
hashCode()
boolean
isSchemaIdValid()
-
-
-
Constructor Detail
-
TransportClientResponse
public TransportClientResponse(int schemaId, CompressionStrategy compressionStrategy, byte[] body)
-
-
Method Detail
-
getSchemaId
public int getSchemaId()
-
getCompressionStrategy
public CompressionStrategy getCompressionStrategy()
-
getBody
public byte[] getBody()
-
isSchemaIdValid
public boolean isSchemaIdValid()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-