@UnstableApi public interface LastBulkStringRedisContent extends BulkStringRedisContent
Modifier and Type | Field and Description |
---|---|
static LastBulkStringRedisContent |
EMPTY_LAST_CONTENT
The 'end of content' marker in chunked encoding.
|
Modifier and Type | Method and Description |
---|---|
LastBulkStringRedisContent |
copy()
Creates a deep copy of this
ByteBufHolder . |
LastBulkStringRedisContent |
duplicate()
Duplicates this
ByteBufHolder . |
LastBulkStringRedisContent |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
LastBulkStringRedisContent |
retain()
Increases the reference count by
1 . |
LastBulkStringRedisContent |
retain(int increment)
Increases the reference count by the specified
increment . |
LastBulkStringRedisContent |
retainedDuplicate()
Duplicates this
ByteBufHolder . |
LastBulkStringRedisContent |
touch()
Records the current access location of this object for debugging purposes.
|
LastBulkStringRedisContent |
touch(Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
content
refCnt, release, release
static final LastBulkStringRedisContent EMPTY_LAST_CONTENT
LastBulkStringRedisContent copy()
ByteBufHolder
ByteBufHolder
.copy
in interface BulkStringRedisContent
copy
in interface ByteBufHolder
LastBulkStringRedisContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface BulkStringRedisContent
duplicate
in interface ByteBufHolder
LastBulkStringRedisContent retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
in interface BulkStringRedisContent
retainedDuplicate
in interface ByteBufHolder
ByteBuf.retainedDuplicate()
LastBulkStringRedisContent replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
in interface BulkStringRedisContent
replace
in interface ByteBufHolder
LastBulkStringRedisContent retain()
ReferenceCounted
1
.retain
in interface BulkStringRedisContent
retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
LastBulkStringRedisContent retain(int increment)
ReferenceCounted
increment
.retain
in interface BulkStringRedisContent
retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
LastBulkStringRedisContent touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface BulkStringRedisContent
touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
LastBulkStringRedisContent touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface BulkStringRedisContent
touch
in interface ByteBufHolder
touch
in interface ReferenceCounted
Copyright © 2008–2024 The Netty Project. All rights reserved.