@UnstableApi public class DefaultBinaryMemcacheRequest extends AbstractBinaryMemcacheMessage implements BinaryMemcacheRequest
BinaryMemcacheRequest
.限定符和类型 | 字段和说明 |
---|---|
static byte |
REQUEST_MAGIC_BYTE
Default magic byte for a request.
|
构造器和说明 |
---|
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. |
限定符和类型 | 方法和说明 |
---|---|
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(java.lang.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, totalBodyLength
decoderResult, setDecoderResult
refCnt, release, release, setRefCnt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLength
decoderResult, setDecoderResult
refCnt, release, release
public 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()
BinaryMemcacheRequest
reserved
在接口中 BinaryMemcacheRequest
public BinaryMemcacheRequest setReserved(short reserved)
BinaryMemcacheRequest
setReserved
在接口中 BinaryMemcacheRequest
reserved
- the reserved field value.public BinaryMemcacheRequest retain()
ReferenceCounted
1
.retain
在接口中 BinaryMemcacheMessage
retain
在接口中 BinaryMemcacheRequest
retain
在接口中 MemcacheMessage
retain
在接口中 ReferenceCounted
retain
在类中 AbstractBinaryMemcacheMessage
public BinaryMemcacheRequest retain(int increment)
ReferenceCounted
increment
.retain
在接口中 BinaryMemcacheMessage
retain
在接口中 BinaryMemcacheRequest
retain
在接口中 MemcacheMessage
retain
在接口中 ReferenceCounted
retain
在类中 AbstractBinaryMemcacheMessage
public BinaryMemcacheRequest touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 BinaryMemcacheMessage
touch
在接口中 BinaryMemcacheRequest
touch
在接口中 MemcacheMessage
touch
在接口中 ReferenceCounted
touch
在类中 AbstractBinaryMemcacheMessage
public BinaryMemcacheRequest touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 BinaryMemcacheMessage
touch
在接口中 BinaryMemcacheRequest
touch
在接口中 MemcacheMessage
touch
在接口中 ReferenceCounted
touch
在类中 AbstractBinaryMemcacheMessage