Class SingleGetResponseWrapper
- java.lang.Object
-
- com.linkedin.venice.listener.response.AbstractReadResponse
-
- com.linkedin.venice.listener.response.SingleGetResponseWrapper
-
- All Implemented Interfaces:
ReadResponse
public class SingleGetResponseWrapper extends AbstractReadResponse
-
-
Constructor Summary
Constructors Constructor Description SingleGetResponseWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBuf
getResponseBody()
int
getResponseSchemaIdHeader()
ReadResponseStats
getStats()
ReadResponseStatsRecorder
getStatsRecorder()
ValueRecord
getValueRecord()
boolean
isFound()
void
setValueRecord(ValueRecord valueRecord)
-
Methods inherited from class com.linkedin.venice.listener.response.AbstractReadResponse
getCompressionStrategy, getRCU, isStreamingResponse, setCompressionStrategy, setRCU, setStreamingResponse
-
-
-
-
Method Detail
-
setValueRecord
public void setValueRecord(ValueRecord valueRecord)
-
getValueRecord
public ValueRecord getValueRecord()
-
getStats
public ReadResponseStats getStats()
-
getStatsRecorder
public ReadResponseStatsRecorder getStatsRecorder()
- Specified by:
getStatsRecorder
in classAbstractReadResponse
-
isFound
public boolean isFound()
- Specified by:
isFound
in interfaceReadResponse
- Overrides:
isFound
in classAbstractReadResponse
-
getResponseBody
public io.netty.buffer.ByteBuf getResponseBody()
- Specified by:
getResponseBody
in interfaceReadResponse
- Specified by:
getResponseBody
in classAbstractReadResponse
-
getResponseSchemaIdHeader
public int getResponseSchemaIdHeader()
- Specified by:
getResponseSchemaIdHeader
in interfaceReadResponse
- Specified by:
getResponseSchemaIdHeader
in classAbstractReadResponse
-
-