public class DefaultLastMemcacheContent extends DefaultMemcacheContent implements LastMemcacheContent
LastMemcacheContent
.EMPTY_LAST_CONTENT
Constructor and Description |
---|
DefaultLastMemcacheContent() |
DefaultLastMemcacheContent(ByteBuf content) |
Modifier and Type | Method and Description |
---|---|
LastMemcacheContent |
copy()
Create a deep copy of this
ByteBufHolder . |
LastMemcacheContent |
duplicate()
Duplicate the
ByteBufHolder . |
LastMemcacheContent |
retain()
Increases the reference count by
1 . |
LastMemcacheContent |
retain(int increment)
Increases the reference count by the specified
increment . |
LastMemcacheContent |
touch()
Records the current access location of this object for debugging purposes.
|
LastMemcacheContent |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
content, refCnt, release, release, toString
decoderResult, setDecoderResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
decoderResult, setDecoderResult
content
refCnt, release, release
public DefaultLastMemcacheContent()
public DefaultLastMemcacheContent(ByteBuf content)
public LastMemcacheContent retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface LastMemcacheContent
retain
in interface MemcacheContent
retain
in interface ReferenceCounted
retain
in class DefaultMemcacheContent
public LastMemcacheContent retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface LastMemcacheContent
retain
in interface MemcacheContent
retain
in interface ReferenceCounted
retain
in class DefaultMemcacheContent
public LastMemcacheContent touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface LastMemcacheContent
touch
in interface MemcacheContent
touch
in interface ReferenceCounted
touch
in class DefaultMemcacheContent
public LastMemcacheContent touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface LastMemcacheContent
touch
in interface MemcacheContent
touch
in interface ReferenceCounted
touch
in class DefaultMemcacheContent
public LastMemcacheContent copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface LastMemcacheContent
copy
in interface MemcacheContent
copy
in class DefaultMemcacheContent
public LastMemcacheContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface LastMemcacheContent
duplicate
in interface MemcacheContent
duplicate
in class DefaultMemcacheContent
Copyright © 2008–2015 The Netty Project. All rights reserved.