@UnstableApi public class DefaultLastMemcacheContent extends DefaultMemcacheContent implements LastMemcacheContent
LastMemcacheContent.EMPTY_LAST_CONTENT| Constructor and Description |
|---|
DefaultLastMemcacheContent() |
DefaultLastMemcacheContent(ByteBuf 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.
|
content, deallocate, toStringdecoderResult, setDecoderResultrefCnt, release, release, setRefCntclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdecoderResult, setDecoderResultcontentrefCnt, release, releasepublic DefaultLastMemcacheContent()
public DefaultLastMemcacheContent(ByteBuf content)
public LastMemcacheContent retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface LastMemcacheContentretain in interface MemcacheContentretain in interface ReferenceCountedretain in class DefaultMemcacheContentpublic LastMemcacheContent retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface LastMemcacheContentretain in interface MemcacheContentretain in interface ReferenceCountedretain in class DefaultMemcacheContentpublic LastMemcacheContent touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface LastMemcacheContenttouch in interface MemcacheContenttouch in interface ReferenceCountedtouch in class DefaultMemcacheContentpublic LastMemcacheContent touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface LastMemcacheContenttouch in interface MemcacheContenttouch in interface ReferenceCountedtouch in class DefaultMemcacheContentpublic LastMemcacheContent copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface LastMemcacheContentcopy in interface MemcacheContentcopy in class DefaultMemcacheContentpublic LastMemcacheContent duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface LastMemcacheContentduplicate in interface MemcacheContentduplicate in class DefaultMemcacheContentpublic LastMemcacheContent retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface LastMemcacheContentretainedDuplicate in interface MemcacheContentretainedDuplicate in class DefaultMemcacheContentByteBuf.retainedDuplicate()public LastMemcacheContent replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface LastMemcacheContentreplace in interface MemcacheContentreplace in class DefaultMemcacheContentCopyright © 2008–2025 The Netty Project. All rights reserved.