public class TouchRequest extends AsciiRequest<MemcacheStatus>
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
CMD |
private int |
ttl |
NEWLINE_BYTES, SPACE_BYTESkey| Constructor and Description |
|---|
TouchRequest(byte[] key,
int ttl) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handle(AsciiResponse response,
HostAndPort server) |
io.netty.buffer.ByteBuf |
writeRequest(io.netty.buffer.ByteBufAllocator alloc,
java.nio.ByteBuffer dst) |
handleasFuture, encodeKey, encodeKeys, fail, getKey, succeed, toBuffer, toBufferacceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completedFuture, completeExceptionally, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, obtrudeException, obtrudeValue, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsyncpublic io.netty.buffer.ByteBuf writeRequest(io.netty.buffer.ByteBufAllocator alloc,
java.nio.ByteBuffer dst)
protected void handle(AsciiResponse response, HostAndPort server) throws java.io.IOException
handle in class AsciiRequest<MemcacheStatus>java.io.IOExceptionCopyright © 2020 Spotify AB. All Rights Reserved.