Package com.linkedin.venice.router.api
Class ContentDecompressResult
java.lang.Object
com.linkedin.venice.router.api.ContentDecompressResult
A POJO to store the response content and additional compression related metadata.
-
Constructor Summary
ConstructorDescriptionContentDecompressResult
(io.netty.buffer.ByteBuf content, CompressionStrategy compressionStrategy, long decompressionTimeInNs) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBuf
long
-
Constructor Details
-
ContentDecompressResult
public ContentDecompressResult(io.netty.buffer.ByteBuf content, CompressionStrategy compressionStrategy, long decompressionTimeInNs)
-
-
Method Details
-
getContent
public io.netty.buffer.ByteBuf getContent() -
getCompressionStrategy
-
getDecompressionTimeInNs
public long getDecompressionTimeInNs()
-