@UnstableApi public class DefaultMemcacheContent extends AbstractMemcacheObject implements MemcacheContent
MemcacheContent implementation.| Constructor and Description |
|---|
DefaultMemcacheContent(io.netty.buffer.ByteBuf content)
Creates a new instance with the specified content.
|
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
content() |
MemcacheContent |
copy() |
protected void |
deallocate() |
MemcacheContent |
duplicate() |
MemcacheContent |
replace(io.netty.buffer.ByteBuf content) |
MemcacheContent |
retain() |
MemcacheContent |
retain(int increment) |
MemcacheContent |
retainedDuplicate() |
String |
toString() |
MemcacheContent |
touch() |
MemcacheContent |
touch(Object hint) |
decoderResult, setDecoderResultrefCnt, release, release, setRefCntclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic DefaultMemcacheContent(io.netty.buffer.ByteBuf content)
public io.netty.buffer.ByteBuf content()
content in interface io.netty.buffer.ByteBufHolderpublic MemcacheContent copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in interface MemcacheContentpublic MemcacheContent duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in interface MemcacheContentpublic MemcacheContent retainedDuplicate()
retainedDuplicate in interface io.netty.buffer.ByteBufHolderretainedDuplicate in interface MemcacheContentpublic MemcacheContent replace(io.netty.buffer.ByteBuf content)
replace in interface io.netty.buffer.ByteBufHolderreplace in interface MemcacheContentpublic MemcacheContent retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface MemcacheContentretain in interface io.netty.util.ReferenceCountedretain in class io.netty.util.AbstractReferenceCountedpublic MemcacheContent retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface MemcacheContentretain in interface io.netty.util.ReferenceCountedretain in class io.netty.util.AbstractReferenceCountedpublic MemcacheContent touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface MemcacheContenttouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.util.AbstractReferenceCountedpublic MemcacheContent touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface MemcacheContenttouch in interface io.netty.util.ReferenceCountedprotected void deallocate()
deallocate in class io.netty.util.AbstractReferenceCountedCopyright © 2008–2019 The Netty Project. All rights reserved.