public class FlushRequest extends AsciiRequest<MemcacheStatus> implements AllRequest<MemcacheStatus>
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
CMD |
private int |
delay |
private static byte[] |
NO_KEY |
NEWLINE_BYTES, SPACE_BYTESkey| Constructor and Description |
|---|
FlushRequest(int delay) |
| Modifier and Type | Method and Description |
|---|---|
Request<MemcacheStatus> |
duplicate() |
protected void |
handle(AsciiResponse response,
HostAndPort server) |
MemcacheStatus |
merge(java.util.List<MemcacheStatus> results) |
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, whenCompleteAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmergeMemcacheStatus, mergeStats, preMergeprivate static final byte[] CMD
private static final byte[] NO_KEY
private final int delay
public io.netty.buffer.ByteBuf writeRequest(io.netty.buffer.ByteBufAllocator alloc,
java.nio.ByteBuffer dst)
writeRequest in interface Request<MemcacheStatus>protected void handle(AsciiResponse response, HostAndPort server) throws java.io.IOException
handle in class AsciiRequest<MemcacheStatus>java.io.IOExceptionpublic MemcacheStatus merge(java.util.List<MemcacheStatus> results)
merge in interface AllRequest<MemcacheStatus>public Request<MemcacheStatus> duplicate()
duplicate in interface AllRequest<MemcacheStatus>Copyright © 2020 Spotify AB. All Rights Reserved.