@UnstableApi public class DefaultFullBinaryMemcacheRequest extends DefaultBinaryMemcacheRequest implements FullBinaryMemcacheRequest
FullBinaryMemcacheRequest
.REQUEST_MAGIC_BYTE
EMPTY_LAST_CONTENT
Constructor and Description |
---|
DefaultFullBinaryMemcacheRequest(io.netty.buffer.ByteBuf key,
io.netty.buffer.ByteBuf extras)
Create a new
DefaultBinaryMemcacheRequest with the header, key and extras. |
DefaultFullBinaryMemcacheRequest(io.netty.buffer.ByteBuf key,
io.netty.buffer.ByteBuf extras,
io.netty.buffer.ByteBuf content)
Create a new
DefaultBinaryMemcacheRequest with the header, key, extras and content. |
Modifier and Type | Method and Description |
---|---|
io.netty.buffer.ByteBuf |
content() |
FullBinaryMemcacheRequest |
copy() |
protected void |
deallocate() |
FullBinaryMemcacheRequest |
duplicate() |
FullBinaryMemcacheRequest |
replace(io.netty.buffer.ByteBuf content) |
FullBinaryMemcacheRequest |
retain()
Increases the reference count by
1 . |
FullBinaryMemcacheRequest |
retain(int increment)
Increases the reference count by the specified
increment . |
FullBinaryMemcacheRequest |
retainedDuplicate() |
FullBinaryMemcacheRequest |
touch() |
FullBinaryMemcacheRequest |
touch(Object hint) |
reserved, setReserved
cas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLength
decoderResult, setDecoderResult
refCnt, release, release, setRefCnt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reserved, setReserved
cas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLength
public DefaultFullBinaryMemcacheRequest(io.netty.buffer.ByteBuf key, io.netty.buffer.ByteBuf extras)
DefaultBinaryMemcacheRequest
with the header, key and extras.key
- the key to use.extras
- the extras to use.public DefaultFullBinaryMemcacheRequest(io.netty.buffer.ByteBuf key, io.netty.buffer.ByteBuf extras, io.netty.buffer.ByteBuf content)
DefaultBinaryMemcacheRequest
with the header, key, extras and content.key
- the key to use.extras
- the extras to use.content
- the content of the full request.public io.netty.buffer.ByteBuf content()
content
in interface io.netty.buffer.ByteBufHolder
public FullBinaryMemcacheRequest retain()
BinaryMemcacheMessage
1
.retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface BinaryMemcacheMessage
retain
in interface BinaryMemcacheRequest
retain
in interface FullBinaryMemcacheRequest
retain
in interface FullMemcacheMessage
retain
in interface LastMemcacheContent
retain
in interface MemcacheContent
retain
in interface MemcacheMessage
retain
in interface io.netty.util.ReferenceCounted
retain
in class DefaultBinaryMemcacheRequest
public FullBinaryMemcacheRequest retain(int increment)
BinaryMemcacheMessage
increment
.retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface BinaryMemcacheMessage
retain
in interface BinaryMemcacheRequest
retain
in interface FullBinaryMemcacheRequest
retain
in interface FullMemcacheMessage
retain
in interface LastMemcacheContent
retain
in interface MemcacheContent
retain
in interface MemcacheMessage
retain
in interface io.netty.util.ReferenceCounted
retain
in class DefaultBinaryMemcacheRequest
public FullBinaryMemcacheRequest touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface BinaryMemcacheMessage
touch
in interface BinaryMemcacheRequest
touch
in interface FullBinaryMemcacheRequest
touch
in interface FullMemcacheMessage
touch
in interface LastMemcacheContent
touch
in interface MemcacheContent
touch
in interface MemcacheMessage
touch
in interface io.netty.util.ReferenceCounted
touch
in class DefaultBinaryMemcacheRequest
public FullBinaryMemcacheRequest touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface BinaryMemcacheMessage
touch
in interface BinaryMemcacheRequest
touch
in interface FullBinaryMemcacheRequest
touch
in interface FullMemcacheMessage
touch
in interface LastMemcacheContent
touch
in interface MemcacheContent
touch
in interface MemcacheMessage
touch
in interface io.netty.util.ReferenceCounted
touch
in class DefaultBinaryMemcacheRequest
protected void deallocate()
deallocate
in class AbstractBinaryMemcacheMessage
public FullBinaryMemcacheRequest copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in interface FullBinaryMemcacheRequest
copy
in interface FullMemcacheMessage
copy
in interface LastMemcacheContent
copy
in interface MemcacheContent
public FullBinaryMemcacheRequest duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
in interface FullBinaryMemcacheRequest
duplicate
in interface FullMemcacheMessage
duplicate
in interface LastMemcacheContent
duplicate
in interface MemcacheContent
public FullBinaryMemcacheRequest retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
retainedDuplicate
in interface FullBinaryMemcacheRequest
retainedDuplicate
in interface FullMemcacheMessage
retainedDuplicate
in interface LastMemcacheContent
retainedDuplicate
in interface MemcacheContent
public FullBinaryMemcacheRequest replace(io.netty.buffer.ByteBuf content)
replace
in interface io.netty.buffer.ByteBufHolder
replace
in interface FullBinaryMemcacheRequest
replace
in interface FullMemcacheMessage
replace
in interface LastMemcacheContent
replace
in interface MemcacheContent
Copyright © 2008–2018 The Netty Project. All rights reserved.