public class TouchRequest extends AsciiRequest<MemcacheStatus>
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
CMD |
private int |
ttl |
NEWLINE_BYTES, SPACE_BYTES| Constructor and Description |
|---|
TouchRequest(String key,
Charset charset,
int ttl) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handle(AsciiResponse response) |
io.netty.buffer.ByteBuf |
writeRequest(io.netty.buffer.ByteBufAllocator alloc,
ByteBuffer dst) |
handleencodeKey, encodeKeys, fail, getKey, succeed, toBuffer, toBufferpublic io.netty.buffer.ByteBuf writeRequest(io.netty.buffer.ByteBufAllocator alloc,
ByteBuffer dst)
writeRequest in class Request<MemcacheStatus>protected void handle(AsciiResponse response) throws IOException
handle in class AsciiRequest<MemcacheStatus>IOExceptionCopyright © 2017 Spotify AB. All rights reserved.