Interface LastMemcacheContent
-
- All Superinterfaces:
ByteBufHolder
,MemcacheContent
,MemcacheObject
,ReferenceCounted
- All Known Subinterfaces:
FullBinaryMemcacheRequest
,FullBinaryMemcacheResponse
,FullMemcacheMessage
- All Known Implementing Classes:
DefaultFullBinaryMemcacheRequest
,DefaultFullBinaryMemcacheResponse
,DefaultLastMemcacheContent
public interface LastMemcacheContent extends MemcacheContent
TheMemcacheContent
which signals the end of the content batch. Note that by design, even when no content is emitted by the protocol, an emptyLastMemcacheContent
is issued to make the upstream parsing easier.
-
-
Field Summary
Fields Modifier and Type Field Description static LastMemcacheContent
EMPTY_LAST_CONTENT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LastMemcacheContent
copy()
LastMemcacheContent
duplicate()
LastMemcacheContent
retain()
LastMemcacheContent
retain(int increment)
-
Methods inherited from interface io.netty.buffer.ByteBufHolder
content, replace, retainedDuplicate, touch, touch
-
Methods inherited from interface com.couchbase.client.deps.io.netty.handler.codec.memcache.MemcacheObject
getDecoderResult, setDecoderResult
-
Methods inherited from interface io.netty.util.ReferenceCounted
refCnt, release, release
-
-
-
-
Field Detail
-
EMPTY_LAST_CONTENT
static final LastMemcacheContent EMPTY_LAST_CONTENT
-
-
Method Detail
-
copy
LastMemcacheContent copy()
- Specified by:
copy
in interfaceByteBufHolder
- Specified by:
copy
in interfaceMemcacheContent
-
retain
LastMemcacheContent retain(int increment)
- Specified by:
retain
in interfaceByteBufHolder
- Specified by:
retain
in interfaceReferenceCounted
-
retain
LastMemcacheContent retain()
- Specified by:
retain
in interfaceByteBufHolder
- Specified by:
retain
in interfaceMemcacheContent
- Specified by:
retain
in interfaceReferenceCounted
-
duplicate
LastMemcacheContent duplicate()
- Specified by:
duplicate
in interfaceByteBufHolder
- Specified by:
duplicate
in interfaceMemcacheContent
-
-