Interface BinaryMemcacheResponse
-
- All Superinterfaces:
BinaryMemcacheMessage,io.netty.handler.codec.DecoderResultProvider,MemcacheMessage,MemcacheObject,io.netty.util.ReferenceCounted
- All Known Subinterfaces:
FullBinaryMemcacheResponse
- All Known Implementing Classes:
DefaultBinaryMemcacheResponse,DefaultFullBinaryMemcacheResponse
@UnstableApi public interface BinaryMemcacheResponse extends BinaryMemcacheMessage
Represents a fullBinaryMemcacheResponse, which contains the header and optional key and extras.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BinaryMemcacheResponseretain()Increases the reference count by1.BinaryMemcacheResponseretain(int increment)Increases the reference count by the specifiedincrement.BinaryMemcacheResponsesetStatus(short status)Sets the status of the response.shortstatus()Returns the status of the response.BinaryMemcacheResponsetouch()BinaryMemcacheResponsetouch(Object hint)-
Methods inherited from interface io.netty.handler.codec.memcache.binary.BinaryMemcacheMessage
cas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLength
-
-
-
-
Method Detail
-
status
short status()
Returns the status of the response.- Returns:
- the status of the response.
-
setStatus
BinaryMemcacheResponse setStatus(short status)
Sets the status of the response.- Parameters:
status- the status to set.
-
retain
BinaryMemcacheResponse retain()
Description copied from interface:BinaryMemcacheMessageIncreases the reference count by1.- Specified by:
retainin interfaceBinaryMemcacheMessage- Specified by:
retainin interfaceMemcacheMessage- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
BinaryMemcacheResponse retain(int increment)
Description copied from interface:BinaryMemcacheMessageIncreases the reference count by the specifiedincrement.- Specified by:
retainin interfaceBinaryMemcacheMessage- Specified by:
retainin interfaceMemcacheMessage- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
BinaryMemcacheResponse touch()
- Specified by:
touchin interfaceBinaryMemcacheMessage- Specified by:
touchin interfaceMemcacheMessage- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
BinaryMemcacheResponse touch(Object hint)
- Specified by:
touchin interfaceBinaryMemcacheMessage- Specified by:
touchin interfaceMemcacheMessage- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
-