Class DefaultLastMemcacheContent
- java.lang.Object
-
- com.couchbase.client.deps.io.netty.handler.codec.memcache.AbstractMemcacheObject
-
- com.couchbase.client.deps.io.netty.handler.codec.memcache.DefaultMemcacheContent
-
- com.couchbase.client.deps.io.netty.handler.codec.memcache.DefaultLastMemcacheContent
-
- All Implemented Interfaces:
LastMemcacheContent
,MemcacheContent
,MemcacheObject
,ByteBufHolder
,ReferenceCounted
public class DefaultLastMemcacheContent extends DefaultMemcacheContent implements LastMemcacheContent
The default implementation for theLastMemcacheContent
.
-
-
Field Summary
-
Fields inherited from interface com.couchbase.client.deps.io.netty.handler.codec.memcache.LastMemcacheContent
EMPTY_LAST_CONTENT
-
-
Constructor Summary
Constructors Constructor Description DefaultLastMemcacheContent()
DefaultLastMemcacheContent(ByteBuf content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LastMemcacheContent
copy()
LastMemcacheContent
duplicate()
LastMemcacheContent
replace(ByteBuf content)
LastMemcacheContent
retain()
LastMemcacheContent
retain(int increment)
-
Methods inherited from class com.couchbase.client.deps.io.netty.handler.codec.memcache.DefaultMemcacheContent
content, refCnt, release, release, retainedDuplicate, toString, touch, touch
-
Methods inherited from class com.couchbase.client.deps.io.netty.handler.codec.memcache.AbstractMemcacheObject
getDecoderResult, setDecoderResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty.buffer.ByteBufHolder
content, retainedDuplicate, touch, touch
-
Methods inherited from interface com.couchbase.client.deps.io.netty.handler.codec.memcache.MemcacheObject
getDecoderResult, setDecoderResult
-
Methods inherited from interface io.netty.util.ReferenceCounted
refCnt, release, release
-
-
-
-
Constructor Detail
-
DefaultLastMemcacheContent
public DefaultLastMemcacheContent()
-
DefaultLastMemcacheContent
public DefaultLastMemcacheContent(ByteBuf content)
-
-
Method Detail
-
retain
public LastMemcacheContent retain()
- Specified by:
retain
in interfaceByteBufHolder
- Specified by:
retain
in interfaceLastMemcacheContent
- Specified by:
retain
in interfaceMemcacheContent
- Specified by:
retain
in interfaceReferenceCounted
- Overrides:
retain
in classDefaultMemcacheContent
-
retain
public LastMemcacheContent retain(int increment)
- Specified by:
retain
in interfaceByteBufHolder
- Specified by:
retain
in interfaceLastMemcacheContent
- Specified by:
retain
in interfaceReferenceCounted
- Overrides:
retain
in classDefaultMemcacheContent
-
copy
public LastMemcacheContent copy()
- Specified by:
copy
in interfaceByteBufHolder
- Specified by:
copy
in interfaceLastMemcacheContent
- Specified by:
copy
in interfaceMemcacheContent
- Overrides:
copy
in classDefaultMemcacheContent
-
duplicate
public LastMemcacheContent duplicate()
- Specified by:
duplicate
in interfaceByteBufHolder
- Specified by:
duplicate
in interfaceLastMemcacheContent
- Specified by:
duplicate
in interfaceMemcacheContent
- Overrides:
duplicate
in classDefaultMemcacheContent
-
replace
public LastMemcacheContent replace(ByteBuf content)
- Specified by:
replace
in interfaceByteBufHolder
- Overrides:
replace
in classDefaultMemcacheContent
-
-