@UnstableApi public class DefaultFullBinaryMemcacheResponse extends DefaultBinaryMemcacheResponse implements FullBinaryMemcacheResponse
FullBinaryMemcacheResponse
.RESPONSE_MAGIC_BYTE
EMPTY_LAST_CONTENT
构造器和说明 |
---|
DefaultFullBinaryMemcacheResponse(ByteBuf key,
ByteBuf extras)
Create a new
DefaultFullBinaryMemcacheResponse with the header, key and extras. |
DefaultFullBinaryMemcacheResponse(ByteBuf key,
ByteBuf extras,
ByteBuf content)
Create a new
DefaultFullBinaryMemcacheResponse with the header, key, extras and content. |
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
content()
Return the data which is held by this
ByteBufHolder . |
FullBinaryMemcacheResponse |
copy()
Creates a deep copy of this
ByteBufHolder . |
protected void |
deallocate()
Called once
AbstractReferenceCounted.refCnt() is equals 0. |
FullBinaryMemcacheResponse |
duplicate()
Duplicates this
ByteBufHolder . |
FullBinaryMemcacheResponse |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
FullBinaryMemcacheResponse |
retain()
Increases the reference count by
1 . |
FullBinaryMemcacheResponse |
retain(int increment)
Increases the reference count by the specified
increment . |
FullBinaryMemcacheResponse |
retainedDuplicate()
Duplicates this
ByteBufHolder . |
FullBinaryMemcacheResponse |
touch()
Records the current access location of this object for debugging purposes.
|
FullBinaryMemcacheResponse |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
setStatus, status
cas, dataType, 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
setStatus, status
cas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLength
public DefaultFullBinaryMemcacheResponse(ByteBuf key, ByteBuf extras)
DefaultFullBinaryMemcacheResponse
with the header, key and extras.key
- the key to use.extras
- the extras to use.public DefaultFullBinaryMemcacheResponse(ByteBuf key, ByteBuf extras, ByteBuf content)
DefaultFullBinaryMemcacheResponse
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()
ByteBufHolder
ByteBufHolder
.content
在接口中 ByteBufHolder
public FullBinaryMemcacheResponse retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 BinaryMemcacheMessage
retain
在接口中 BinaryMemcacheResponse
retain
在接口中 FullBinaryMemcacheResponse
retain
在接口中 FullMemcacheMessage
retain
在接口中 LastMemcacheContent
retain
在接口中 MemcacheContent
retain
在接口中 MemcacheMessage
retain
在接口中 ReferenceCounted
retain
在类中 DefaultBinaryMemcacheResponse
public FullBinaryMemcacheResponse retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 BinaryMemcacheMessage
retain
在接口中 BinaryMemcacheResponse
retain
在接口中 FullBinaryMemcacheResponse
retain
在接口中 FullMemcacheMessage
retain
在接口中 LastMemcacheContent
retain
在接口中 MemcacheContent
retain
在接口中 MemcacheMessage
retain
在接口中 ReferenceCounted
retain
在类中 DefaultBinaryMemcacheResponse
public FullBinaryMemcacheResponse touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 ByteBufHolder
touch
在接口中 BinaryMemcacheMessage
touch
在接口中 BinaryMemcacheResponse
touch
在接口中 FullBinaryMemcacheResponse
touch
在接口中 FullMemcacheMessage
touch
在接口中 LastMemcacheContent
touch
在接口中 MemcacheContent
touch
在接口中 MemcacheMessage
touch
在接口中 ReferenceCounted
touch
在类中 DefaultBinaryMemcacheResponse
public FullBinaryMemcacheResponse touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 ByteBufHolder
touch
在接口中 BinaryMemcacheMessage
touch
在接口中 BinaryMemcacheResponse
touch
在接口中 FullBinaryMemcacheResponse
touch
在接口中 FullMemcacheMessage
touch
在接口中 LastMemcacheContent
touch
在接口中 MemcacheContent
touch
在接口中 MemcacheMessage
touch
在接口中 ReferenceCounted
touch
在类中 DefaultBinaryMemcacheResponse
protected void deallocate()
AbstractReferenceCounted
AbstractReferenceCounted.refCnt()
is equals 0.public FullBinaryMemcacheResponse copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
copy
在接口中 FullBinaryMemcacheResponse
copy
在接口中 FullMemcacheMessage
copy
在接口中 LastMemcacheContent
copy
在接口中 MemcacheContent
public FullBinaryMemcacheResponse duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
duplicate
在接口中 FullBinaryMemcacheResponse
duplicate
在接口中 FullMemcacheMessage
duplicate
在接口中 LastMemcacheContent
duplicate
在接口中 MemcacheContent
public FullBinaryMemcacheResponse retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
在接口中 ByteBufHolder
retainedDuplicate
在接口中 FullBinaryMemcacheResponse
retainedDuplicate
在接口中 FullMemcacheMessage
retainedDuplicate
在接口中 LastMemcacheContent
retainedDuplicate
在接口中 MemcacheContent
ByteBuf.retainedDuplicate()
public FullBinaryMemcacheResponse replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
在接口中 ByteBufHolder
replace
在接口中 FullBinaryMemcacheResponse
replace
在接口中 FullMemcacheMessage
replace
在接口中 LastMemcacheContent
replace
在接口中 MemcacheContent