@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, setDecoderResult
refCnt, release, release, setRefCnt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public DefaultMemcacheContent(io.netty.buffer.ByteBuf content)
public io.netty.buffer.ByteBuf content()
content
in interface io.netty.buffer.ByteBufHolder
public MemcacheContent copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in interface MemcacheContent
public MemcacheContent duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
in interface MemcacheContent
public MemcacheContent retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
retainedDuplicate
in interface MemcacheContent
public MemcacheContent replace(io.netty.buffer.ByteBuf content)
replace
in interface io.netty.buffer.ByteBufHolder
replace
in interface MemcacheContent
public MemcacheContent retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface MemcacheContent
retain
in interface io.netty.util.ReferenceCounted
retain
in class io.netty.util.AbstractReferenceCounted
public MemcacheContent retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface MemcacheContent
retain
in interface io.netty.util.ReferenceCounted
retain
in class io.netty.util.AbstractReferenceCounted
public MemcacheContent touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface MemcacheContent
touch
in interface io.netty.util.ReferenceCounted
touch
in class io.netty.util.AbstractReferenceCounted
public MemcacheContent touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface MemcacheContent
touch
in interface io.netty.util.ReferenceCounted
protected void deallocate()
deallocate
in class io.netty.util.AbstractReferenceCounted
Copyright © 2008–2018 The Netty Project. All rights reserved.