public class IncrRequest extends BinaryRequest<Long>
| Modifier and Type | Field and Description |
|---|---|
private long |
by |
private long |
initial |
private byte |
opcode |
private int |
ttl |
HEADER_SIZE, MAGIC_NUMBER| Constructor and Description |
|---|
IncrRequest(String key,
Charset charset,
byte opcode,
long by,
long initial,
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, toBufferprivate final byte opcode
private final long by
private final long initial
private final int ttl
public io.netty.buffer.ByteBuf writeRequest(io.netty.buffer.ByteBufAllocator alloc,
ByteBuffer dst)
writeRequest in class Request<Long>public void handle(BinaryResponse replies) throws IOException
handle in class BinaryRequest<Long>IOExceptionCopyright © 2015 Spotify AB. All Rights Reserved.