Class SingleGetResponseWrapper
java.lang.Object
com.linkedin.venice.listener.response.AbstractReadResponse
com.linkedin.venice.listener.response.SingleGetResponseWrapper
- All Implemented Interfaces:
ReadResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBufintgetStats()booleanisFound()voidsetValueRecord(ValueRecord valueRecord) Methods inherited from class com.linkedin.venice.listener.response.AbstractReadResponse
getCompressionStrategy, getRCU, isStreamingResponse, setCompressionStrategy, setRCU, setStreamingResponse
-
Constructor Details
-
SingleGetResponseWrapper
public SingleGetResponseWrapper()
-
-
Method Details
-
setValueRecord
-
getValueRecord
-
getStats
-
getStatsRecorder
- Specified by:
getStatsRecorderin classAbstractReadResponse
-
isFound
public boolean isFound()- Specified by:
isFoundin interfaceReadResponse- Overrides:
isFoundin classAbstractReadResponse
-
getResponseBody
public io.netty.buffer.ByteBuf getResponseBody()- Specified by:
getResponseBodyin interfaceReadResponse- Specified by:
getResponseBodyin classAbstractReadResponse
-
getResponseSchemaIdHeader
public int getResponseSchemaIdHeader()- Specified by:
getResponseSchemaIdHeaderin interfaceReadResponse- Specified by:
getResponseSchemaIdHeaderin classAbstractReadResponse
-