Package com.linkedin.venice.router.api
Class ContentDecompressResult
- java.lang.Object
-
- com.linkedin.venice.router.api.ContentDecompressResult
-
public class ContentDecompressResult extends java.lang.Object
A POJO to store the response content and additional compression related metadata.
-
-
Constructor Summary
Constructors Constructor Description ContentDecompressResult(io.netty.buffer.ByteBuf content, CompressionStrategy compressionStrategy, long decompressionTimeInNs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompressionStrategy
getCompressionStrategy()
io.netty.buffer.ByteBuf
getContent()
long
getDecompressionTimeInNs()
-
-
-
Constructor Detail
-
ContentDecompressResult
public ContentDecompressResult(io.netty.buffer.ByteBuf content, CompressionStrategy compressionStrategy, long decompressionTimeInNs)
-
-
Method Detail
-
getContent
public io.netty.buffer.ByteBuf getContent()
-
getCompressionStrategy
public CompressionStrategy getCompressionStrategy()
-
getDecompressionTimeInNs
public long getDecompressionTimeInNs()
-
-