@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.| Modifier and Type | Field and Description |
|---|---|
static LastMemcacheContent |
EMPTY_LAST_CONTENT |
| Modifier and Type | Method and Description |
|---|---|
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(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
decoderResult, setDecoderResultcontentrefCnt, release, releasestatic final LastMemcacheContent EMPTY_LAST_CONTENT
LastMemcacheContent copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface MemcacheContentLastMemcacheContent duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface MemcacheContentLastMemcacheContent retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface MemcacheContentByteBuf.retainedDuplicate()LastMemcacheContent replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface MemcacheContentLastMemcacheContent retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface MemcacheContentretain in interface ReferenceCountedLastMemcacheContent retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface MemcacheContentretain in interface ReferenceCountedLastMemcacheContent touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface MemcacheContenttouch in interface ReferenceCountedLastMemcacheContent touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface MemcacheContenttouch in interface ReferenceCountedCopyright © 2008–2025 The Netty Project. All rights reserved.