@UnstableApi public final class DefaultLastBulkStringRedisContent extends DefaultBulkStringRedisContent implements LastBulkStringRedisContent
EMPTY_LAST_CONTENT| Constructor and Description |
|---|
DefaultLastBulkStringRedisContent(ByteBuf content)
创建一个 DefaultLastBulkStringRedisContent为给定content 。
|
| Modifier and Type | Method and Description |
|---|---|
LastBulkStringRedisContent |
copy()
创建此 ByteBufHolder的深层副本。
|
LastBulkStringRedisContent |
duplicate()
重复此 ByteBufHolder 。
|
LastBulkStringRedisContent |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
LastBulkStringRedisContent |
retain()
将引用计数增加
1 。
|
LastBulkStringRedisContent |
retain(int increment)
将参考计数增加
increment 。
|
LastBulkStringRedisContent |
retainedDuplicate()
重复此 ByteBufHolder 。
|
LastBulkStringRedisContent |
touch()
记录此对象的当前访问位置以进行调试。
|
LastBulkStringRedisContent |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
toStringcontent, contentToString, equals, hashCode, refCnt, release, releaseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontentrefCnt, release, releasepublic DefaultLastBulkStringRedisContent(ByteBuf content)
DefaultLastBulkStringRedisContent为给定content 。
content - 内容,可以是
null 。
public LastBulkStringRedisContent copy()
DefaultByteBufHolder
ByteBufHolder的深层副本。
此方法默认调用replace(content().copy()) 。
copy在界面
ByteBufHolder
copy在界面
BulkStringRedisContent
copy在界面
LastBulkStringRedisContent
copy
DefaultBulkStringRedisContent
public LastBulkStringRedisContent duplicate()
DefaultByteBufHolder
duplicate在界面
ByteBufHolder
duplicate在界面
BulkStringRedisContent
duplicate接口
LastBulkStringRedisContent
duplicate
DefaultBulkStringRedisContent
public LastBulkStringRedisContent retainedDuplicate()
DefaultByteBufHolder
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的副本。
此方法默认调用replace(content().retainedDuplicate()) 。
retainedDuplicate在界面
ByteBufHolder
retainedDuplicate在界面
BulkStringRedisContent
retainedDuplicate接口
LastBulkStringRedisContent
retainedDuplicate在课程
DefaultBulkStringRedisContent
ByteBuf.retainedDuplicate()
public LastBulkStringRedisContent replace(ByteBuf content)
DefaultByteBufHolder
ByteBufHolder包含指定content 。
重写此方法以返回其内容设置为指定的content的此对象的新实例。 的默认实现DefaultByteBufHolder.copy() , DefaultByteBufHolder.duplicate()和DefaultByteBufHolder.retainedDuplicate()调用此方法来创建一个副本。
replace接口
ByteBufHolder
replace接口
BulkStringRedisContent
replace接口
LastBulkStringRedisContent
replace在课程
DefaultBulkStringRedisContent
public LastBulkStringRedisContent retain()
ReferenceCounted复制的描述
1 。
retain接口
ByteBufHolder
retain在界面
BulkStringRedisContent
retain在界面
LastBulkStringRedisContent
retain在界面
ReferenceCounted
retain在课程
DefaultBulkStringRedisContent
public LastBulkStringRedisContent retain(int increment)
ReferenceCounted
increment增加引用计数。
retain接口
ByteBufHolder
retain在界面
BulkStringRedisContent
retain接口
LastBulkStringRedisContent
retain在界面
ReferenceCounted
retain在课程
DefaultBulkStringRedisContent
public LastBulkStringRedisContent touch()
ReferenceCounted
touch接口
ByteBufHolder
touch接口
BulkStringRedisContent
touch接口
LastBulkStringRedisContent
touch在界面
ReferenceCounted
touch在课程
DefaultBulkStringRedisContent
public LastBulkStringRedisContent touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector提供给您。
touch在界面
ByteBufHolder
touch在界面
BulkStringRedisContent
touch在界面
LastBulkStringRedisContent
touch在界面
ReferenceCounted
touch
DefaultBulkStringRedisContent
Copyright © 2008–2018 The Netty Project. All rights reserved.