public interface ByteBufHolder extends ReferenceCounted
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
content()
Return the data which is held by this
ByteBufHolder . |
ByteBufHolder |
copy()
Create a deep copy of this
ByteBufHolder . |
ByteBufHolder |
duplicate()
Duplicate the
ByteBufHolder . |
ByteBufHolder |
retain()
Increases the reference count by
1 . |
ByteBufHolder |
retain(int increment)
Increases the reference count by the specified
increment . |
refCnt, release, release
ByteBuf content()
ByteBufHolder
.ByteBufHolder copy()
ByteBufHolder
.ByteBufHolder duplicate()
ByteBufHolder
. Be aware that this will not automatically call retain()
.ByteBufHolder retain()
ReferenceCounted
1
.retain
在接口中 ReferenceCounted
ByteBufHolder retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ReferenceCounted