@UnstableApi public class DefaultLastMemcacheContent extends DefaultMemcacheContent implements LastMemcacheContent
LastMemcacheContent
.EMPTY_LAST_CONTENT
构造器和说明 |
---|
DefaultLastMemcacheContent() |
DefaultLastMemcacheContent(ByteBuf content) |
限定符和类型 | 方法和说明 |
---|---|
LastMemcacheContent |
copy()
Creates a deep copy of this
ByteBufHolder . |
LastMemcacheContent |
duplicate()
Duplicates this
ByteBufHolder . |
LastMemcacheContent |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
LastMemcacheContent |
retain()
Increases the reference count by
1 . |
LastMemcacheContent |
retain(int increment)
Increases the reference count by the specified
increment . |
LastMemcacheContent |
retainedDuplicate()
Duplicates this
ByteBufHolder . |
LastMemcacheContent |
touch()
Records the current access location of this object for debugging purposes.
|
LastMemcacheContent |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
content, deallocate, toString
decoderResult, setDecoderResult
refCnt, release, release, setRefCnt
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
在接口中 ByteBufHolder
retain
在接口中 LastMemcacheContent
retain
在接口中 MemcacheContent
retain
在接口中 ReferenceCounted
retain
在类中 DefaultMemcacheContent
public LastMemcacheContent retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 LastMemcacheContent
retain
在接口中 MemcacheContent
retain
在接口中 ReferenceCounted
retain
在类中 DefaultMemcacheContent
public LastMemcacheContent touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 ByteBufHolder
touch
在接口中 LastMemcacheContent
touch
在接口中 MemcacheContent
touch
在接口中 ReferenceCounted
touch
在类中 DefaultMemcacheContent
public LastMemcacheContent touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 ByteBufHolder
touch
在接口中 LastMemcacheContent
touch
在接口中 MemcacheContent
touch
在接口中 ReferenceCounted
touch
在类中 DefaultMemcacheContent
public LastMemcacheContent copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
copy
在接口中 LastMemcacheContent
copy
在接口中 MemcacheContent
copy
在类中 DefaultMemcacheContent
public LastMemcacheContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
duplicate
在接口中 LastMemcacheContent
duplicate
在接口中 MemcacheContent
duplicate
在类中 DefaultMemcacheContent
public LastMemcacheContent retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
在接口中 ByteBufHolder
retainedDuplicate
在接口中 LastMemcacheContent
retainedDuplicate
在接口中 MemcacheContent
retainedDuplicate
在类中 DefaultMemcacheContent
ByteBuf.retainedDuplicate()
public LastMemcacheContent replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
在接口中 ByteBufHolder
replace
在接口中 LastMemcacheContent
replace
在接口中 MemcacheContent
replace
在类中 DefaultMemcacheContent