@UnstableApi public interface LastMemcacheContent extends MemcacheContent
MemcacheContent
which signals the end of the content batch.
Note that by design, even when no content is emitted by the protocol, an
empty LastMemcacheContent
is issued to make the upstream parsing
easier.限定符和类型 | 字段和说明 |
---|---|
static LastMemcacheContent |
EMPTY_LAST_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.
|
decoderResult, setDecoderResult
content
refCnt, release, release
static final LastMemcacheContent EMPTY_LAST_CONTENT
LastMemcacheContent copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
copy
在接口中 MemcacheContent
LastMemcacheContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
duplicate
在接口中 MemcacheContent
LastMemcacheContent retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
在接口中 ByteBufHolder
retainedDuplicate
在接口中 MemcacheContent
ByteBuf.retainedDuplicate()
LastMemcacheContent replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
在接口中 ByteBufHolder
replace
在接口中 MemcacheContent
LastMemcacheContent retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 MemcacheContent
retain
在接口中 ReferenceCounted
LastMemcacheContent retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 MemcacheContent
retain
在接口中 ReferenceCounted
LastMemcacheContent touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 ByteBufHolder
touch
在接口中 MemcacheContent
touch
在接口中 ReferenceCounted
LastMemcacheContent touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 ByteBufHolder
touch
在接口中 MemcacheContent
touch
在接口中 ReferenceCounted