@UnstableApi public interface BulkStringRedisContent extends RedisMessage, ByteBufHolder
RedisDecoder generates BulkStringRedisContent after
BulkStringHeaderRedisMessage when the content is large or the encoding of the content is chunked.
If you prefer not to receive BulkStringRedisContent in your handler,
place RedisBulkStringAggregator after RedisDecoder in the ChannelPipeline.| 限定符和类型 | 方法和说明 |
|---|---|
BulkStringRedisContent |
copy()
Creates a deep copy of this
ByteBufHolder. |
BulkStringRedisContent |
duplicate()
Duplicates this
ByteBufHolder. |
BulkStringRedisContent |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
BulkStringRedisContent |
retain()
Increases the reference count by
1. |
BulkStringRedisContent |
retain(int increment)
Increases the reference count by the specified
increment. |
BulkStringRedisContent |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
BulkStringRedisContent |
touch()
Records the current access location of this object for debugging purposes.
|
BulkStringRedisContent |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
contentrefCnt, release, releaseBulkStringRedisContent copy()
ByteBufHolderByteBufHolder.copy 在接口中 ByteBufHolderBulkStringRedisContent duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate 在接口中 ByteBufHolderBulkStringRedisContent retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate 在接口中 ByteBufHolderByteBuf.retainedDuplicate()BulkStringRedisContent replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace 在接口中 ByteBufHolderBulkStringRedisContent retain()
ReferenceCounted1.retain 在接口中 ByteBufHolderretain 在接口中 ReferenceCountedBulkStringRedisContent retain(int increment)
ReferenceCountedincrement.retain 在接口中 ByteBufHolderretain 在接口中 ReferenceCountedBulkStringRedisContent touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch 在接口中 ByteBufHoldertouch 在接口中 ReferenceCountedBulkStringRedisContent touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch 在接口中 ByteBufHoldertouch 在接口中 ReferenceCounted