public class AppendFuture<T> extends TimeoutFuture<T>
CompletableFuture.AsynchronousCompletionTaskcreateTimeMs, timeOutMs| Constructor and Description |
|---|
AppendFuture() |
AppendFuture(long timeOutMs) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPos() |
static <T> AppendFuture<T> |
newCompletedFuture(long pos,
T value) |
void |
setPos(long pos) |
getCreateTimeMs, getTimeOutMs, isTimeOut, setCreateTimeMs, setTimeOutMsacceptEither, 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 AppendFuture()
public AppendFuture(long timeOutMs)
public long getPos()
public void setPos(long pos)
public static <T> AppendFuture<T> newCompletedFuture(long pos, T value)
Copyright © 2023. All rights reserved.