@UnstableApi public class DefaultFullBinaryMemcacheRequest extends DefaultBinaryMemcacheRequest implements FullBinaryMemcacheRequest
FullBinaryMemcacheRequest.REQUEST_MAGIC_BYTEEMPTY_LAST_CONTENT| Constructor and Description |
|---|
DefaultFullBinaryMemcacheRequest(ByteBuf key,
ByteBuf extras)
Create a new
DefaultBinaryMemcacheRequest with the header, key and extras. |
DefaultFullBinaryMemcacheRequest(ByteBuf key,
ByteBuf extras,
ByteBuf content)
Create a new
DefaultBinaryMemcacheRequest with the header, key, extras and content. |
| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
content()
Return the data which is held by this
ByteBufHolder. |
FullBinaryMemcacheRequest |
copy()
Creates a deep copy of this
ByteBufHolder. |
protected void |
deallocate()
Called once
AbstractReferenceCounted.refCnt() is equals 0. |
FullBinaryMemcacheRequest |
duplicate()
Duplicates this
ByteBufHolder. |
FullBinaryMemcacheRequest |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
FullBinaryMemcacheRequest |
retain()
Increases the reference count by
1. |
FullBinaryMemcacheRequest |
retain(int increment)
Increases the reference count by the specified
increment. |
FullBinaryMemcacheRequest |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
FullBinaryMemcacheRequest |
touch()
Records the current access location of this object for debugging purposes.
|
FullBinaryMemcacheRequest |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
reserved, setReservedcas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLengthdecoderResult, setDecoderResultrefCnt, release, release, setRefCntclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreserved, setReservedcas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLengthpublic DefaultFullBinaryMemcacheRequest(ByteBuf key, ByteBuf extras)
DefaultBinaryMemcacheRequest with the header, key and extras.key - the key to use.extras - the extras to use.public DefaultFullBinaryMemcacheRequest(ByteBuf key, ByteBuf extras, ByteBuf content)
DefaultBinaryMemcacheRequest with the header, key, extras and content.key - the key to use.extras - the extras to use.content - the content of the full request.public ByteBuf content()
ByteBufHolderByteBufHolder.content in interface ByteBufHolderpublic FullBinaryMemcacheRequest retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface BinaryMemcacheMessageretain in interface BinaryMemcacheRequestretain in interface FullBinaryMemcacheRequestretain in interface FullMemcacheMessageretain in interface LastMemcacheContentretain in interface MemcacheContentretain in interface MemcacheMessageretain in interface ReferenceCountedretain in class DefaultBinaryMemcacheRequestpublic FullBinaryMemcacheRequest retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface BinaryMemcacheMessageretain in interface BinaryMemcacheRequestretain in interface FullBinaryMemcacheRequestretain in interface FullMemcacheMessageretain in interface LastMemcacheContentretain in interface MemcacheContentretain in interface MemcacheMessageretain in interface ReferenceCountedretain in class DefaultBinaryMemcacheRequestpublic FullBinaryMemcacheRequest touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface BinaryMemcacheMessagetouch in interface BinaryMemcacheRequesttouch in interface FullBinaryMemcacheRequesttouch in interface FullMemcacheMessagetouch in interface LastMemcacheContenttouch in interface MemcacheContenttouch in interface MemcacheMessagetouch in interface ReferenceCountedtouch in class DefaultBinaryMemcacheRequestpublic FullBinaryMemcacheRequest touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface BinaryMemcacheMessagetouch in interface BinaryMemcacheRequesttouch in interface FullBinaryMemcacheRequesttouch in interface FullMemcacheMessagetouch in interface LastMemcacheContenttouch in interface MemcacheContenttouch in interface MemcacheMessagetouch in interface ReferenceCountedtouch in class DefaultBinaryMemcacheRequestprotected void deallocate()
AbstractReferenceCountedAbstractReferenceCounted.refCnt() is equals 0.deallocate in class AbstractBinaryMemcacheMessagepublic FullBinaryMemcacheRequest copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface FullBinaryMemcacheRequestcopy in interface FullMemcacheMessagecopy in interface LastMemcacheContentcopy in interface MemcacheContentpublic FullBinaryMemcacheRequest duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface FullBinaryMemcacheRequestduplicate in interface FullMemcacheMessageduplicate in interface LastMemcacheContentduplicate in interface MemcacheContentpublic FullBinaryMemcacheRequest retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface FullBinaryMemcacheRequestretainedDuplicate in interface FullMemcacheMessageretainedDuplicate in interface LastMemcacheContentretainedDuplicate in interface MemcacheContentByteBuf.retainedDuplicate()public FullBinaryMemcacheRequest replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface FullBinaryMemcacheRequestreplace in interface FullMemcacheMessagereplace in interface LastMemcacheContentreplace in interface MemcacheContentCopyright © 2008–2025 The Netty Project. All rights reserved.