Interface MemcacheContent
- All Superinterfaces:
ByteBufHolder
,MemcacheObject
,ReferenceCounted
- All Known Subinterfaces:
FullBinaryMemcacheRequest
,FullBinaryMemcacheResponse
,FullMemcacheMessage
,LastMemcacheContent
- All Known Implementing Classes:
DefaultFullBinaryMemcacheRequest
,DefaultFullBinaryMemcacheResponse
,DefaultLastMemcacheContent
,DefaultMemcacheContent
public interface MemcacheContent extends MemcacheObject, ByteBufHolder
An Memcache content chunk.
A implementation of a
AbstractMemcacheObjectDecoder
generates MemcacheContent
after
MemcacheMessage
when the content is large. If you prefer not to receive MemcacheContent
in your handler, place a aggregator after an implementation of the AbstractMemcacheObjectDecoder
in the ChannelPipeline
.-
Method Summary
Modifier and Type Method Description MemcacheContent
copy()
MemcacheContent
duplicate()
MemcacheContent
retain()
Methods inherited from interface io.netty.buffer.ByteBufHolder
content, replace, retain, 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
-
Method Details
-
copy
MemcacheContent copy()- Specified by:
copy
in interfaceByteBufHolder
-
duplicate
MemcacheContent duplicate()- Specified by:
duplicate
in interfaceByteBufHolder
-
retain
MemcacheContent retain()- Specified by:
retain
in interfaceByteBufHolder
- Specified by:
retain
in interfaceReferenceCounted
-