Class MemberChunkManager.ChunkRequest
java.lang.Object
java.util.concurrent.CompletableFuture<Void>
net.dv8tion.jda.internal.requests.MemberChunkManager.ChunkRequest
- All Implemented Interfaces:
CompletionStage<Void>
,Future<Void>
- Enclosing class:
MemberChunkManager
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask
-
Constructor Summary
ConstructorsConstructorDescriptionChunkRequest
(BiConsumer<Boolean, List<Member>> handler, GuildImpl guild, DataObject request) -
Method Summary
Modifier and TypeMethodDescriptionboolean
cancel
(boolean mayInterruptIfRunning) long
getAge()
getNonce()
void
handleChunk
(boolean last, DataObject chunk) boolean
boolean
setTimeout
(long timeout) Methods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, 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, whenCompleteAsync
-
Constructor Details
-
ChunkRequest
-
-
Method Details