public class FlushRequest extends BinaryRequest<MemcacheStatus> implements AllRequest<MemcacheStatus>
| Modifier and Type | Field and Description |
|---|---|
private int |
delay |
static byte[] |
NO_KEY |
HEADER_SIZE, MAGIC_NUMBER, opaquekey| Constructor and Description |
|---|
FlushRequest(int delay) |
| Modifier and Type | Method and Description |
|---|---|
Request<MemcacheStatus> |
duplicate() |
void |
handle(BinaryResponse replies,
HostAndPort server) |
MemcacheStatus |
merge(java.util.List<MemcacheStatus> results) |
io.netty.buffer.ByteBuf |
writeRequest(io.netty.buffer.ByteBufAllocator alloc,
java.nio.ByteBuffer dst) |
handle, handleSingleReply, writeHeaderasFuture, 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, preMergepublic io.netty.buffer.ByteBuf writeRequest(io.netty.buffer.ByteBufAllocator alloc,
java.nio.ByteBuffer dst)
writeRequest in interface Request<MemcacheStatus>public void handle(BinaryResponse replies, HostAndPort server) throws java.io.IOException
handle in class BinaryRequest<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.