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.Modifier and Type | Field and Description |
---|---|
static LastMemcacheContent |
EMPTY_LAST_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.
|
decoderResult, setDecoderResult
content
refCnt, release, release
static final LastMemcacheContent EMPTY_LAST_CONTENT
LastMemcacheContent copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface MemcacheContent
LastMemcacheContent retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface MemcacheContent
retain
in interface ReferenceCounted
LastMemcacheContent retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface MemcacheContent
retain
in interface ReferenceCounted
LastMemcacheContent touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface MemcacheContent
touch
in interface ReferenceCounted
LastMemcacheContent touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface MemcacheContent
touch
in interface ReferenceCounted
LastMemcacheContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface MemcacheContent
Copyright © 2008–2015 The Netty Project. All rights reserved.