Package io.netty.handler.codec.memcache
Class DefaultLastMemcacheContent
- java.lang.Object
-
- io.netty.util.AbstractReferenceCounted
-
- io.netty.handler.codec.memcache.AbstractMemcacheObject
-
- io.netty.handler.codec.memcache.DefaultMemcacheContent
-
- io.netty.handler.codec.memcache.DefaultLastMemcacheContent
-
- All Implemented Interfaces:
io.netty.buffer.ByteBufHolder,io.netty.handler.codec.DecoderResultProvider,LastMemcacheContent,MemcacheContent,MemcacheObject,io.netty.util.ReferenceCounted
@UnstableApi public class DefaultLastMemcacheContent extends DefaultMemcacheContent implements LastMemcacheContent
The default implementation for theLastMemcacheContent.
-
-
Field Summary
-
Fields inherited from interface io.netty.handler.codec.memcache.LastMemcacheContent
EMPTY_LAST_CONTENT
-
-
Constructor Summary
Constructors Constructor Description DefaultLastMemcacheContent()DefaultLastMemcacheContent(io.netty.buffer.ByteBuf content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LastMemcacheContentcopy()LastMemcacheContentduplicate()LastMemcacheContentreplace(io.netty.buffer.ByteBuf content)LastMemcacheContentretain()LastMemcacheContentretain(int increment)LastMemcacheContentretainedDuplicate()LastMemcacheContenttouch()LastMemcacheContenttouch(Object hint)-
Methods inherited from class io.netty.handler.codec.memcache.DefaultMemcacheContent
content, deallocate, toString
-
Methods inherited from class io.netty.handler.codec.memcache.AbstractMemcacheObject
decoderResult, setDecoderResult
-
Methods inherited from class io.netty.util.AbstractReferenceCounted
refCnt, release, release, setRefCnt
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
retain
public LastMemcacheContent retain()
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceLastMemcacheContent- Specified by:
retainin interfaceMemcacheContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Overrides:
retainin classDefaultMemcacheContent
-
retain
public LastMemcacheContent retain(int increment)
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceLastMemcacheContent- Specified by:
retainin interfaceMemcacheContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted- Overrides:
retainin classDefaultMemcacheContent
-
touch
public LastMemcacheContent touch()
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceLastMemcacheContent- Specified by:
touchin interfaceMemcacheContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Overrides:
touchin classDefaultMemcacheContent
-
touch
public LastMemcacheContent touch(Object hint)
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceLastMemcacheContent- Specified by:
touchin interfaceMemcacheContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted- Overrides:
touchin classDefaultMemcacheContent
-
copy
public LastMemcacheContent copy()
- Specified by:
copyin interfaceio.netty.buffer.ByteBufHolder- Specified by:
copyin interfaceLastMemcacheContent- Specified by:
copyin interfaceMemcacheContent- Overrides:
copyin classDefaultMemcacheContent
-
duplicate
public LastMemcacheContent duplicate()
- Specified by:
duplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
duplicatein interfaceLastMemcacheContent- Specified by:
duplicatein interfaceMemcacheContent- Overrides:
duplicatein classDefaultMemcacheContent
-
retainedDuplicate
public LastMemcacheContent retainedDuplicate()
- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainedDuplicatein interfaceLastMemcacheContent- Specified by:
retainedDuplicatein interfaceMemcacheContent- Overrides:
retainedDuplicatein classDefaultMemcacheContent
-
replace
public LastMemcacheContent replace(io.netty.buffer.ByteBuf content)
- Specified by:
replacein interfaceio.netty.buffer.ByteBufHolder- Specified by:
replacein interfaceLastMemcacheContent- Specified by:
replacein interfaceMemcacheContent- Overrides:
replacein classDefaultMemcacheContent
-
-