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. |
getDecoderResult, setDecoderResultcontentrefCnt, release, releasestatic final LastMemcacheContent EMPTY_LAST_CONTENT
LastMemcacheContent copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy 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 duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface MemcacheContentCopyright © 2008–2013 The Netty Project. All rights reserved.