@UnstableApi public class DefaultBinaryMemcacheRequest extends AbstractBinaryMemcacheMessage implements BinaryMemcacheRequest
BinaryMemcacheRequest.| Modifier and Type | Field and Description |
|---|---|
static byte |
REQUEST_MAGIC_BYTE
Default magic byte for a request.
|
| Constructor and Description |
|---|
DefaultBinaryMemcacheRequest()
Create a new
DefaultBinaryMemcacheRequest with the header only. |
DefaultBinaryMemcacheRequest(ByteBuf key)
Create a new
DefaultBinaryMemcacheRequest with the header and key. |
DefaultBinaryMemcacheRequest(ByteBuf key,
ByteBuf extras)
Create a new
DefaultBinaryMemcacheRequest with the header only. |
| Modifier and Type | Method and Description |
|---|---|
short |
reserved()
Returns the reserved field value.
|
BinaryMemcacheRequest |
retain()
Increases the reference count by
1. |
BinaryMemcacheRequest |
retain(int increment)
Increases the reference count by the specified
increment. |
BinaryMemcacheRequest |
setReserved(short reserved)
Sets the reserved field value.
|
BinaryMemcacheRequest |
touch()
Records the current access location of this object for debugging purposes.
|
BinaryMemcacheRequest |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
cas, dataType, deallocate, 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, waitcas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLengthdecoderResult, setDecoderResultrefCnt, release, releasepublic static final byte REQUEST_MAGIC_BYTE
public DefaultBinaryMemcacheRequest()
DefaultBinaryMemcacheRequest with the header only.public DefaultBinaryMemcacheRequest(ByteBuf key)
DefaultBinaryMemcacheRequest with the header and key.key - the key to use.public DefaultBinaryMemcacheRequest(ByteBuf key, ByteBuf extras)
DefaultBinaryMemcacheRequest with the header only.key - the key to use.extras - the extras to use.public short reserved()
BinaryMemcacheRequestreserved in interface BinaryMemcacheRequestpublic BinaryMemcacheRequest setReserved(short reserved)
BinaryMemcacheRequestsetReserved in interface BinaryMemcacheRequestreserved - the reserved field value.public BinaryMemcacheRequest retain()
ReferenceCounted1.retain in interface BinaryMemcacheMessageretain in interface BinaryMemcacheRequestretain in interface MemcacheMessageretain in interface ReferenceCountedretain in class AbstractBinaryMemcacheMessagepublic BinaryMemcacheRequest retain(int increment)
ReferenceCountedincrement.retain in interface BinaryMemcacheMessageretain in interface BinaryMemcacheRequestretain in interface MemcacheMessageretain in interface ReferenceCountedretain in class AbstractBinaryMemcacheMessagepublic BinaryMemcacheRequest touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface BinaryMemcacheMessagetouch in interface BinaryMemcacheRequesttouch in interface MemcacheMessagetouch in interface ReferenceCountedtouch in class AbstractBinaryMemcacheMessagepublic BinaryMemcacheRequest touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface BinaryMemcacheMessagetouch in interface BinaryMemcacheRequesttouch in interface MemcacheMessagetouch in interface ReferenceCountedtouch in class AbstractBinaryMemcacheMessageCopyright © 2008–2025 The Netty Project. All rights reserved.