@UnstableApi public class DefaultFullBinaryMemcacheResponse extends DefaultBinaryMemcacheResponse implements FullBinaryMemcacheResponse
FullBinaryMemcacheResponse
.RESPONSE_MAGIC_BYTE
EMPTY_LAST_CONTENT
Constructor and Description |
---|
DefaultFullBinaryMemcacheResponse(io.netty.buffer.ByteBuf key,
io.netty.buffer.ByteBuf extras)
Create a new
DefaultFullBinaryMemcacheResponse with the header, key and extras. |
DefaultFullBinaryMemcacheResponse(io.netty.buffer.ByteBuf key,
io.netty.buffer.ByteBuf extras,
io.netty.buffer.ByteBuf content)
Create a new
DefaultFullBinaryMemcacheResponse with the header, key, extras and content. |
Modifier and Type | Method and Description |
---|---|
io.netty.buffer.ByteBuf |
content() |
FullBinaryMemcacheResponse |
copy() |
protected void |
deallocate() |
FullBinaryMemcacheResponse |
duplicate() |
FullBinaryMemcacheResponse |
replace(io.netty.buffer.ByteBuf content) |
FullBinaryMemcacheResponse |
retain()
Increases the reference count by
1 . |
FullBinaryMemcacheResponse |
retain(int increment)
Increases the reference count by the specified
increment . |
FullBinaryMemcacheResponse |
retainedDuplicate() |
FullBinaryMemcacheResponse |
touch() |
FullBinaryMemcacheResponse |
touch(Object hint) |
setStatus, status
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
setStatus, status
cas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLength
public DefaultFullBinaryMemcacheResponse(io.netty.buffer.ByteBuf key, io.netty.buffer.ByteBuf extras)
DefaultFullBinaryMemcacheResponse
with the header, key and extras.key
- the key to use.extras
- the extras to use.public DefaultFullBinaryMemcacheResponse(io.netty.buffer.ByteBuf key, io.netty.buffer.ByteBuf extras, io.netty.buffer.ByteBuf content)
DefaultFullBinaryMemcacheResponse
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 FullBinaryMemcacheResponse retain()
BinaryMemcacheMessage
1
.retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface BinaryMemcacheMessage
retain
in interface BinaryMemcacheResponse
retain
in interface FullBinaryMemcacheResponse
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 DefaultBinaryMemcacheResponse
public FullBinaryMemcacheResponse retain(int increment)
BinaryMemcacheMessage
increment
.retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface BinaryMemcacheMessage
retain
in interface BinaryMemcacheResponse
retain
in interface FullBinaryMemcacheResponse
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 DefaultBinaryMemcacheResponse
public FullBinaryMemcacheResponse touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface BinaryMemcacheMessage
touch
in interface BinaryMemcacheResponse
touch
in interface FullBinaryMemcacheResponse
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 DefaultBinaryMemcacheResponse
public FullBinaryMemcacheResponse touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface BinaryMemcacheMessage
touch
in interface BinaryMemcacheResponse
touch
in interface FullBinaryMemcacheResponse
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 DefaultBinaryMemcacheResponse
protected void deallocate()
deallocate
in class AbstractBinaryMemcacheMessage
public FullBinaryMemcacheResponse copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in interface FullBinaryMemcacheResponse
copy
in interface FullMemcacheMessage
copy
in interface LastMemcacheContent
copy
in interface MemcacheContent
public FullBinaryMemcacheResponse duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
in interface FullBinaryMemcacheResponse
duplicate
in interface FullMemcacheMessage
duplicate
in interface LastMemcacheContent
duplicate
in interface MemcacheContent
public FullBinaryMemcacheResponse retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
retainedDuplicate
in interface FullBinaryMemcacheResponse
retainedDuplicate
in interface FullMemcacheMessage
retainedDuplicate
in interface LastMemcacheContent
retainedDuplicate
in interface MemcacheContent
public FullBinaryMemcacheResponse replace(io.netty.buffer.ByteBuf content)
replace
in interface io.netty.buffer.ByteBufHolder
replace
in interface FullBinaryMemcacheResponse
replace
in interface FullMemcacheMessage
replace
in interface LastMemcacheContent
replace
in interface MemcacheContent
Copyright © 2008–2021 The Netty Project. All rights reserved.