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
The
MemcacheContent
which signals the end of the content batch.
Note that by design, even when no content is emitted by the protocol, an
empty LastMemcacheContent
is issued to make the upstream parsing
easier.-
Field Summary
Fields Modifier and Type Field Description static LastMemcacheContent
EMPTY_LAST_CONTENT
-
Method Summary
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 Details
-
EMPTY_LAST_CONTENT
-
-
Method Details
-
copy
LastMemcacheContent copy()- Specified by:
copy
in interfaceByteBufHolder
- Specified by:
copy
in interfaceMemcacheContent
-
retain
- 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
-