@UnstableApi public final class DefaultLastBulkStringRedisContent extends DefaultBulkStringRedisContent implements LastBulkStringRedisContent
LastBulkStringRedisContent
.EMPTY_LAST_CONTENT
Constructor and Description |
---|
DefaultLastBulkStringRedisContent(io.netty.buffer.ByteBuf content)
Creates a
DefaultLastBulkStringRedisContent for the given content . |
Modifier and Type | Method and Description |
---|---|
LastBulkStringRedisContent |
copy() |
LastBulkStringRedisContent |
duplicate() |
LastBulkStringRedisContent |
replace(io.netty.buffer.ByteBuf content) |
LastBulkStringRedisContent |
retain() |
LastBulkStringRedisContent |
retain(int increment) |
LastBulkStringRedisContent |
retainedDuplicate() |
LastBulkStringRedisContent |
touch() |
LastBulkStringRedisContent |
touch(Object hint) |
toString
content, contentToString, equals, hashCode, refCnt, release, release
public DefaultLastBulkStringRedisContent(io.netty.buffer.ByteBuf content)
DefaultLastBulkStringRedisContent
for the given content
.content
- the content, can be null
.public LastBulkStringRedisContent copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in interface BulkStringRedisContent
copy
in interface LastBulkStringRedisContent
copy
in class DefaultBulkStringRedisContent
public LastBulkStringRedisContent duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
in interface BulkStringRedisContent
duplicate
in interface LastBulkStringRedisContent
duplicate
in class DefaultBulkStringRedisContent
public LastBulkStringRedisContent retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
retainedDuplicate
in interface BulkStringRedisContent
retainedDuplicate
in interface LastBulkStringRedisContent
retainedDuplicate
in class DefaultBulkStringRedisContent
public LastBulkStringRedisContent replace(io.netty.buffer.ByteBuf content)
replace
in interface io.netty.buffer.ByteBufHolder
replace
in interface BulkStringRedisContent
replace
in interface LastBulkStringRedisContent
replace
in class DefaultBulkStringRedisContent
public LastBulkStringRedisContent retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface BulkStringRedisContent
retain
in interface LastBulkStringRedisContent
retain
in interface io.netty.util.ReferenceCounted
retain
in class DefaultBulkStringRedisContent
public LastBulkStringRedisContent retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface BulkStringRedisContent
retain
in interface LastBulkStringRedisContent
retain
in interface io.netty.util.ReferenceCounted
retain
in class DefaultBulkStringRedisContent
public LastBulkStringRedisContent touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface BulkStringRedisContent
touch
in interface LastBulkStringRedisContent
touch
in interface io.netty.util.ReferenceCounted
touch
in class DefaultBulkStringRedisContent
public LastBulkStringRedisContent touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface BulkStringRedisContent
touch
in interface LastBulkStringRedisContent
touch
in interface io.netty.util.ReferenceCounted
touch
in class DefaultBulkStringRedisContent
Copyright © 2008–2021 The Netty Project. All rights reserved.