@UnstableApi public class DefaultFullBinaryMemcacheRequest extends DefaultBinaryMemcacheRequest implements FullBinaryMemcacheRequest
FullBinaryMemcacheRequest.REQUEST_MAGIC_BYTEEMPTY_LAST_CONTENT| 构造器和说明 |
|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
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(java.lang.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 在接口中 ByteBufHolderpublic FullBinaryMemcacheRequest retain()
ReferenceCounted1.retain 在接口中 ByteBufHolderretain 在接口中 BinaryMemcacheMessageretain 在接口中 BinaryMemcacheRequestretain 在接口中 FullBinaryMemcacheRequestretain 在接口中 FullMemcacheMessageretain 在接口中 LastMemcacheContentretain 在接口中 MemcacheContentretain 在接口中 MemcacheMessageretain 在接口中 ReferenceCountedretain 在类中 DefaultBinaryMemcacheRequestpublic FullBinaryMemcacheRequest retain(int increment)
ReferenceCountedincrement.retain 在接口中 ByteBufHolderretain 在接口中 BinaryMemcacheMessageretain 在接口中 BinaryMemcacheRequestretain 在接口中 FullBinaryMemcacheRequestretain 在接口中 FullMemcacheMessageretain 在接口中 LastMemcacheContentretain 在接口中 MemcacheContentretain 在接口中 MemcacheMessageretain 在接口中 ReferenceCountedretain 在类中 DefaultBinaryMemcacheRequestpublic FullBinaryMemcacheRequest touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch 在接口中 ByteBufHoldertouch 在接口中 BinaryMemcacheMessagetouch 在接口中 BinaryMemcacheRequesttouch 在接口中 FullBinaryMemcacheRequesttouch 在接口中 FullMemcacheMessagetouch 在接口中 LastMemcacheContenttouch 在接口中 MemcacheContenttouch 在接口中 MemcacheMessagetouch 在接口中 ReferenceCountedtouch 在类中 DefaultBinaryMemcacheRequestpublic FullBinaryMemcacheRequest touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch 在接口中 ByteBufHoldertouch 在接口中 BinaryMemcacheMessagetouch 在接口中 BinaryMemcacheRequesttouch 在接口中 FullBinaryMemcacheRequesttouch 在接口中 FullMemcacheMessagetouch 在接口中 LastMemcacheContenttouch 在接口中 MemcacheContenttouch 在接口中 MemcacheMessagetouch 在接口中 ReferenceCountedtouch 在类中 DefaultBinaryMemcacheRequestprotected void deallocate()
AbstractReferenceCountedAbstractReferenceCounted.refCnt() is equals 0.public FullBinaryMemcacheRequest copy()
ByteBufHolderByteBufHolder.copy 在接口中 ByteBufHoldercopy 在接口中 FullBinaryMemcacheRequestcopy 在接口中 FullMemcacheMessagecopy 在接口中 LastMemcacheContentcopy 在接口中 MemcacheContentpublic FullBinaryMemcacheRequest duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate 在接口中 ByteBufHolderduplicate 在接口中 FullBinaryMemcacheRequestduplicate 在接口中 FullMemcacheMessageduplicate 在接口中 LastMemcacheContentduplicate 在接口中 MemcacheContentpublic FullBinaryMemcacheRequest retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate 在接口中 ByteBufHolderretainedDuplicate 在接口中 FullBinaryMemcacheRequestretainedDuplicate 在接口中 FullMemcacheMessageretainedDuplicate 在接口中 LastMemcacheContentretainedDuplicate 在接口中 MemcacheContentByteBuf.retainedDuplicate()public FullBinaryMemcacheRequest replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace 在接口中 ByteBufHolderreplace 在接口中 FullBinaryMemcacheRequestreplace 在接口中 FullMemcacheMessagereplace 在接口中 LastMemcacheContentreplace 在接口中 MemcacheContent