Interface BinaryMemcacheRequest
-
- All Superinterfaces:
BinaryMemcacheMessage,io.netty.handler.codec.DecoderResultProvider,MemcacheMessage,MemcacheObject,io.netty.util.ReferenceCounted
- All Known Subinterfaces:
FullBinaryMemcacheRequest
- All Known Implementing Classes:
DefaultBinaryMemcacheRequest,DefaultFullBinaryMemcacheRequest
@UnstableApi public interface BinaryMemcacheRequest extends BinaryMemcacheMessage
Represents a fullBinaryMemcacheRequest, which contains the header and optional key and extras.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description shortreserved()Returns the reserved field value.BinaryMemcacheRequestretain()Increases the reference count by1.BinaryMemcacheRequestretain(int increment)Increases the reference count by the specifiedincrement.BinaryMemcacheRequestsetReserved(short reserved)Sets the reserved field value.BinaryMemcacheRequesttouch()BinaryMemcacheRequesttouch(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
-
reserved
short reserved()
Returns the reserved field value.- Returns:
- the reserved field value.
-
setReserved
BinaryMemcacheRequest setReserved(short reserved)
Sets the reserved field value.- Parameters:
reserved- the reserved field value.
-
retain
BinaryMemcacheRequest 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
BinaryMemcacheRequest 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
BinaryMemcacheRequest touch()
- Specified by:
touchin interfaceBinaryMemcacheMessage- Specified by:
touchin interfaceMemcacheMessage- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
BinaryMemcacheRequest touch(Object hint)
- Specified by:
touchin interfaceBinaryMemcacheMessage- Specified by:
touchin interfaceMemcacheMessage- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
-