Package io.netty.handler.codec.memcache
Interface LastMemcacheContent
-
- All Superinterfaces:
io.netty.buffer.ByteBufHolder,io.netty.handler.codec.DecoderResultProvider,MemcacheContent,MemcacheObject,io.netty.util.ReferenceCounted
- All Known Subinterfaces:
FullBinaryMemcacheRequest,FullBinaryMemcacheResponse,FullMemcacheMessage
- All Known Implementing Classes:
DefaultFullBinaryMemcacheRequest,DefaultFullBinaryMemcacheResponse,DefaultLastMemcacheContent
@UnstableApi public interface LastMemcacheContent extends MemcacheContent
TheMemcacheContentwhich signals the end of the content batch. Note that by design, even when no content is emitted by the protocol, an emptyLastMemcacheContentis issued to make the upstream parsing easier.
-
-
Field Summary
Fields Modifier and Type Field Description static LastMemcacheContentEMPTY_LAST_CONTENT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LastMemcacheContentcopy()LastMemcacheContentduplicate()LastMemcacheContentreplace(io.netty.buffer.ByteBuf content)LastMemcacheContentretain()LastMemcacheContentretain(int increment)LastMemcacheContentretainedDuplicate()LastMemcacheContenttouch()LastMemcacheContenttouch(Object hint)
-
-
-
Field Detail
-
EMPTY_LAST_CONTENT
static final LastMemcacheContent EMPTY_LAST_CONTENT
-
-
Method Detail
-
copy
LastMemcacheContent copy()
- Specified by:
copyin interfaceio.netty.buffer.ByteBufHolder- Specified by:
copyin interfaceMemcacheContent
-
duplicate
LastMemcacheContent duplicate()
- Specified by:
duplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
duplicatein interfaceMemcacheContent
-
retainedDuplicate
LastMemcacheContent retainedDuplicate()
- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainedDuplicatein interfaceMemcacheContent
-
replace
LastMemcacheContent replace(io.netty.buffer.ByteBuf content)
- Specified by:
replacein interfaceio.netty.buffer.ByteBufHolder- Specified by:
replacein interfaceMemcacheContent
-
retain
LastMemcacheContent retain(int increment)
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceMemcacheContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
LastMemcacheContent retain()
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceMemcacheContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
LastMemcacheContent touch()
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceMemcacheContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
LastMemcacheContent touch(Object hint)
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceMemcacheContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
-