public class TouchRequest extends BinaryRequest<MemcacheStatus>
| Modifier and Type | Field and Description |
|---|---|
private int |
ttl |
HEADER_SIZE, MAGIC_NUMBER| Constructor and Description |
|---|
TouchRequest(String key,
Charset charset,
int ttl,
int opaque) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(BinaryResponse replies) |
io.netty.buffer.ByteBuf |
writeRequest(io.netty.buffer.ByteBufAllocator alloc,
ByteBuffer dst) |
handle, handleSingleReply, writeHeaderencodeKeys, fail, getKey, getOpaque, succeed, toBuffer, toBufferpublic io.netty.buffer.ByteBuf writeRequest(io.netty.buffer.ByteBufAllocator alloc,
ByteBuffer dst)
writeRequest in class Request<MemcacheStatus>public void handle(BinaryResponse replies) throws IOException
handle in class BinaryRequest<MemcacheStatus>IOExceptionCopyright © 2015 Spotify AB. All Rights Reserved.