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 the
LastMemcacheContent
.-
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
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 Details
-
DefaultLastMemcacheContent
public DefaultLastMemcacheContent() -
DefaultLastMemcacheContent
-
-
Method Details
-
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
- Specified by:
retain
in interfaceByteBufHolder
- Specified by:
retain
in interfaceLastMemcacheContent
- Specified by:
retain
in interfaceReferenceCounted
- Overrides:
retain
in classDefaultMemcacheContent
-
copy
- Specified by:
copy
in interfaceByteBufHolder
- Specified by:
copy
in interfaceLastMemcacheContent
- Specified by:
copy
in interfaceMemcacheContent
- Overrides:
copy
in classDefaultMemcacheContent
-
duplicate
- Specified by:
duplicate
in interfaceByteBufHolder
- Specified by:
duplicate
in interfaceLastMemcacheContent
- Specified by:
duplicate
in interfaceMemcacheContent
- Overrides:
duplicate
in classDefaultMemcacheContent
-
replace
- Specified by:
replace
in interfaceByteBufHolder
- Overrides:
replace
in classDefaultMemcacheContent
-