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 aAbstractMemcacheObjectDecoder
generatesMemcacheContent
afterMemcacheMessage
when the content is large. If you prefer not to receiveMemcacheContent
in your handler, place a aggregator after an implementation of theAbstractMemcacheObjectDecoder
in theChannelPipeline
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
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
-
-