public class DefaultMemcacheContent extends AbstractMemcacheObject implements MemcacheContent
The default MemcacheContent
implementation.
Constructor and Description |
---|
DefaultMemcacheContent(ByteBuf content)
Creates a new instance with the specified content.
|
Modifier and Type | Method and Description |
---|---|
ByteBuf |
content() |
MemcacheContent |
copy() |
MemcacheContent |
duplicate() |
int |
refCnt() |
boolean |
release() |
boolean |
release(int decrement) |
MemcacheContent |
retain() |
MemcacheContent |
retain(int increment) |
String |
toString() |
getDecoderResult, setDecoderResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDecoderResult, setDecoderResult
public DefaultMemcacheContent(ByteBuf content)
Creates a new instance with the specified content.
public ByteBuf content()
content
in interface ByteBufHolder
public MemcacheContent copy()
copy
in interface MemcacheContent
copy
in interface ByteBufHolder
public MemcacheContent duplicate()
duplicate
in interface MemcacheContent
duplicate
in interface ByteBufHolder
public int refCnt()
refCnt
in interface ReferenceCounted
public MemcacheContent retain()
retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
public MemcacheContent retain(int increment)
retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
public boolean release()
release
in interface ReferenceCounted
public boolean release(int decrement)
release
in interface ReferenceCounted
Copyright © 2014 Couchbase, Inc.