Class ContentDecompressResult

java.lang.Object
com.linkedin.venice.router.api.ContentDecompressResult

public class ContentDecompressResult extends Object
A POJO to store the response content and additional compression related metadata.
  • Constructor Details

    • ContentDecompressResult

      public ContentDecompressResult(io.netty.buffer.ByteBuf content, CompressionStrategy compressionStrategy, long decompressionTimeInNs)
  • Method Details

    • getContent

      public io.netty.buffer.ByteBuf getContent()
    • getCompressionStrategy

      public CompressionStrategy getCompressionStrategy()
    • getDecompressionTimeInNs

      public long getDecompressionTimeInNs()