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, setDecoderResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDecoderResult, setDecoderResultpublic DefaultMemcacheContent(ByteBuf content)
Creates a new instance with the specified content.
public ByteBuf content()
content in interface ByteBufHolderpublic MemcacheContent copy()
copy in interface MemcacheContentcopy in interface ByteBufHolderpublic MemcacheContent duplicate()
duplicate in interface MemcacheContentduplicate in interface ByteBufHolderpublic int refCnt()
refCnt in interface ReferenceCountedpublic MemcacheContent retain()
retain in interface ByteBufHolderretain in interface ReferenceCountedpublic MemcacheContent retain(int increment)
retain in interface ByteBufHolderretain in interface ReferenceCountedpublic boolean release()
release in interface ReferenceCountedpublic boolean release(int decrement)
release in interface ReferenceCountedCopyright © 2016 Couchbase, Inc.. All rights reserved.