Package io.netty.handler.codec.memcache
Class AbstractMemcacheObject
- java.lang.Object
-
- io.netty.util.AbstractReferenceCounted
-
- io.netty.handler.codec.memcache.AbstractMemcacheObject
-
- All Implemented Interfaces:
DecoderResultProvider
,MemcacheObject
,ReferenceCounted
- Direct Known Subclasses:
AbstractBinaryMemcacheMessage
,DefaultMemcacheContent
@UnstableApi public abstract class AbstractMemcacheObject extends AbstractReferenceCounted implements MemcacheObject
The defaultMemcacheObject
implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private DecoderResult
decoderResult
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractMemcacheObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecoderResult
decoderResult()
Returns the result of decoding this object.void
setDecoderResult(DecoderResult result)
Updates the result of decoding this object.-
Methods inherited from class io.netty.util.AbstractReferenceCounted
deallocate, refCnt, release, release, retain, retain, setRefCnt, touch
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty.util.ReferenceCounted
touch
-
-
-
-
Field Detail
-
decoderResult
private DecoderResult decoderResult
-
-
Method Detail
-
decoderResult
public DecoderResult decoderResult()
Description copied from interface:DecoderResultProvider
Returns the result of decoding this object.- Specified by:
decoderResult
in interfaceDecoderResultProvider
-
setDecoderResult
public void setDecoderResult(DecoderResult result)
Description copied from interface:DecoderResultProvider
Updates the result of decoding this object. This method is supposed to be invoked by a decoder. Do not call this method unless you know what you are doing.- Specified by:
setDecoderResult
in interfaceDecoderResultProvider
-
-