Class TransportClientResponse

java.lang.Object
com.linkedin.venice.client.store.transport.TransportClientResponse
Direct Known Subclasses:
TransportClientResponseForRoute

public class TransportClientResponse extends Object
This class is used to capture the result returned by TransportClient
  • Constructor Details

    • TransportClientResponse

      public TransportClientResponse(int schemaId, CompressionStrategy compressionStrategy, byte[] body)
  • Method Details

    • getSchemaId

      public int getSchemaId()
    • getCompressionStrategy

      public CompressionStrategy getCompressionStrategy()
    • getBody

      public byte[] getBody()
    • isSchemaIdValid

      public boolean isSchemaIdValid()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object