@UnstableApi public class DefaultFullBinaryMemcacheResponse extends DefaultBinaryMemcacheResponse implements FullBinaryMemcacheResponse
RESPONSE_MAGIC_BYTEEMPTY_LAST_CONTENT| Constructor and Description |
|---|
DefaultFullBinaryMemcacheResponse(ByteBuf key, ByteBuf extras)
创建一个新的 DefaultFullBinaryMemcacheResponse标题,密钥和演员。
|
DefaultFullBinaryMemcacheResponse(ByteBuf key, ByteBuf extras, ByteBuf content)
创建一个新的 DefaultFullBinaryMemcacheResponse标题,密钥,演员和内容。
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
content()
返回 ByteBufHolder持有的数据。
|
FullBinaryMemcacheResponse |
copy()
创建此 ByteBufHolder的深层副本。
|
protected void |
deallocate()
一次调用
AbstractReferenceCounted.refCnt()等于0。
|
FullBinaryMemcacheResponse |
duplicate()
重复此 ByteBufHolder 。
|
FullBinaryMemcacheResponse |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
FullBinaryMemcacheResponse |
retain()
将引用计数增加
1 。
|
FullBinaryMemcacheResponse |
retain(int increment)
增加参考计数
increment 。
|
FullBinaryMemcacheResponse |
retainedDuplicate()
重复此 ByteBufHolder 。
|
FullBinaryMemcacheResponse |
touch()
记录此对象的当前访问位置以进行调试。
|
FullBinaryMemcacheResponse |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
setStatus, statuscas, 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, waitsetStatus, statuscas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLengthpublic DefaultFullBinaryMemcacheResponse(ByteBuf key, ByteBuf extras)
DefaultFullBinaryMemcacheResponse标题,密钥和演员。
key - 使用的关键。
extras - 使用的临时演员。
public DefaultFullBinaryMemcacheResponse(ByteBuf key, ByteBuf extras, ByteBuf content)
DefaultFullBinaryMemcacheResponse 。
key - 使用的关键。
extras - 使用的临时演员。
content - 完整请求的内容。
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
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()等于0。
public FullBinaryMemcacheResponse copy()
ByteBufHolder
ByteBufHolder的深层副本。
copy ,界面
ByteBufHolder
copy在界面
FullBinaryMemcacheResponse
copy接口
FullMemcacheMessage
copy ,界面
LastMemcacheContent
copy在界面
MemcacheContent
public FullBinaryMemcacheResponse duplicate()
ByteBufHolder
ByteBufHolder 。
请注意,这不会自动拨打ByteBufHolder.retain() 。
duplicate接口
ByteBufHolder
duplicate接口
FullBinaryMemcacheResponse
duplicate ,界面
FullMemcacheMessage
duplicate ,界面
LastMemcacheContent
duplicate ,界面
MemcacheContent
public FullBinaryMemcacheResponse retainedDuplicate()
ByteBufHolder
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的副本。
retainedDuplicate ,界面
ByteBufHolder
retainedDuplicate在界面
FullBinaryMemcacheResponse
retainedDuplicate在界面
FullMemcacheMessage
retainedDuplicate ,界面
LastMemcacheContent
retainedDuplicate ,界面
MemcacheContent
ByteBuf.retainedDuplicate()
public FullBinaryMemcacheResponse replace(ByteBuf content)
ByteBufHolder
ByteBufHolder包含指定content 。
replace ,界面
ByteBufHolder
replace ,界面
FullBinaryMemcacheResponse
replace ,界面
FullMemcacheMessage
replace在界面
LastMemcacheContent
replace ,界面
MemcacheContent
Copyright © 2008–2018 The Netty Project. All rights reserved.