public interface MemcacheContent extends MemcacheObject, ByteBufHolder
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.| Modifier and Type | Method and Description |
|---|---|
MemcacheContent |
copy()
Create a deep copy of this
ByteBufHolder. |
MemcacheContent |
duplicate()
Duplicate the
ByteBufHolder. |
MemcacheContent |
retain()
Increases the reference count by
1. |
MemcacheContent |
retain(int increment)
Increases the reference count by the specified
increment. |
MemcacheContent |
touch()
Records the current access location of this object for debugging purposes.
|
MemcacheContent |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
decoderResult, setDecoderResultcontentrefCnt, release, releaseMemcacheContent copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHolderMemcacheContent duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderMemcacheContent retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedMemcacheContent retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedMemcacheContent touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedMemcacheContent touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCountedCopyright © 2008–2015 The Netty Project. All rights reserved.