public interface BinaryMemcacheMessage<H extends BinaryMemcacheMessageHeader> extends MemcacheMessage
BinaryMemcacheRequest and BinaryMemcacheResponse.
A BinaryMemcacheMessage always consists of a header and optional extras or/and
a key.| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
getExtras()
Returns a
ByteBuf representation of the optional extras. |
H |
getHeader()
Returns the
BinaryMemcacheMessageHeader which contains the full required header. |
String |
getKey()
Returns the optional key of the document.
|
BinaryMemcacheMessage<H> |
retain()
Increases the reference count by
1. |
BinaryMemcacheMessage<H> |
retain(int increment)
Increases the reference count by the specified
increment. |
getDecoderResult, setDecoderResultrefCnt, release, releaseH getHeader()
BinaryMemcacheMessageHeader which contains the full required header.String getKey()
ByteBuf getExtras()
ByteBuf representation of the optional extras.BinaryMemcacheMessage<H> retain()
1.retain in interface MemcacheMessageretain in interface ReferenceCountedBinaryMemcacheMessage<H> retain(int increment)
increment.retain in interface MemcacheMessageretain in interface ReferenceCountedCopyright © 2008–2013 The Netty Project. All rights reserved.