Skip navigation links
A B C D E F G H I J L M N O P Q R S T W 

A

acceptEither(CompletionStage<? extends T>, Consumer<? super T>) - Method in class java9.util.concurrent.CompletableFuture
 
acceptEither(CompletionStage<? extends T>, Consumer<? super T>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed with the corresponding result as argument to the supplied action.
acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in class java9.util.concurrent.CompletableFuture
 
acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed using this stage's default asynchronous execution facility, with the corresponding result as argument to the supplied action.
acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed using the supplied executor, with the corresponding result as argument to the supplied action.
adapt(Runnable) - Static method in class java9.util.concurrent.ForkJoinTask
Returns a new ForkJoinTask that performs the run method of the given Runnable as its action, and returns a null result upon ForkJoinTask.join().
adapt(Runnable, T) - Static method in class java9.util.concurrent.ForkJoinTask
Returns a new ForkJoinTask that performs the run method of the given Runnable as its action, and returns the given result upon ForkJoinTask.join().
adapt(Callable<? extends T>) - Static method in class java9.util.concurrent.ForkJoinTask
Returns a new ForkJoinTask that performs the call method of the given Callable as its action, and returns its result upon ForkJoinTask.join(), translating any checked exceptions encountered into RuntimeException.
addToPendingCount(int) - Method in class java9.util.concurrent.CountedCompleter
Adds (atomically) the given value to the pending count.
allOf(CompletableFuture<?>...) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletableFuture that is completed when all of the given CompletableFutures complete.
anyOf(CompletableFuture<?>...) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletableFuture that is completed when any of the given CompletableFutures complete, with the same result.
applyToEither(CompletionStage<? extends T>, Function<? super T, U>) - Method in class java9.util.concurrent.CompletableFuture
 
applyToEither(CompletionStage<? extends T>, Function<? super T, U>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed with the corresponding result as argument to the supplied function.
applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in class java9.util.concurrent.CompletableFuture
 
applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed using this stage's default asynchronous execution facility, with the corresponding result as argument to the supplied function.
applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed using the supplied executor, with the corresponding result as argument to the supplied function.
awaitQuiescence(long, TimeUnit) - Method in class java9.util.concurrent.ForkJoinPool
If called by a ForkJoinTask operating in this pool, equivalent in effect to ForkJoinTask.helpQuiesce().
awaitTermination(long, TimeUnit) - Method in class java9.util.concurrent.ForkJoinPool
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.

B

block() - Method in interface java9.util.concurrent.ForkJoinPool.ManagedBlocker
Possibly blocks the current thread, for example waiting for a lock or condition.

C

cancel(boolean) - Method in class java9.util.concurrent.CompletableFuture
If not already completed, completes this CompletableFuture with a CancellationException.
cancel() - Method in interface java9.util.concurrent.Flow.Subscription
Causes the Subscriber to (eventually) stop receiving messages.
cancel(boolean) - Method in class java9.util.concurrent.ForkJoinTask
Attempts to cancel execution of this task.
checkFromIndexSize(int, int, int) - Static method in class java9.util.Objects
Checks if the sub-range from fromIndex (inclusive) to fromIndex + size (exclusive) is within the bounds of range from 0 (inclusive) to length (exclusive).
checkFromToIndex(int, int, int) - Static method in class java9.util.Objects
Checks if the sub-range from fromIndex (inclusive) to toIndex (exclusive) is within the bounds of range from 0 (inclusive) to length (exclusive).
checkIndex(int, int) - Static method in class java9.util.Objects
Checks if the index is within the bounds of the range from 0 (inclusive) to length (exclusive).
close() - Method in class java9.util.concurrent.SubmissionPublisher
Unless already closed, issues onComplete signals to current subscribers, and disallows subsequent attempts to publish.
closeExceptionally(Throwable) - Method in class java9.util.concurrent.SubmissionPublisher
Unless already closed, issues onError signals to current subscribers with the given error, and disallows subsequent attempts to publish.
commonPool() - Static method in class java9.util.concurrent.ForkJoinPool
Returns the common pool instance.
compareAndSetForkJoinTaskTag(short, short) - Method in class java9.util.concurrent.ForkJoinTask
Atomically conditionally sets the tag value for this task.
compareAndSetPendingCount(int, int) - Method in class java9.util.concurrent.CountedCompleter
Sets (atomically) the pending count to the given count only if it currently holds the given expected value.
CompletableFuture<T> - Class in java9.util.concurrent
A Future that may be explicitly completed (setting its value and status), and may be used as a CompletionStage, supporting dependent functions and actions that trigger upon its completion.
CompletableFuture() - Constructor for class java9.util.concurrent.CompletableFuture
Creates a new incomplete CompletableFuture.
CompletableFuture.AsynchronousCompletionTask - Interface in java9.util.concurrent
A marker interface identifying asynchronous tasks produced by async methods.
complete(T) - Method in class java9.util.concurrent.CompletableFuture
If not already completed, sets the value returned by CompletableFuture.get() and related methods to the given value.
complete(T) - Method in class java9.util.concurrent.CountedCompleter
Regardless of pending count, invokes CountedCompleter.onCompletion(CountedCompleter), marks this task as complete and further triggers CountedCompleter.tryComplete() on this task's completer, if one exists.
complete(V) - Method in class java9.util.concurrent.ForkJoinTask
Completes this task, and if not already aborted or cancelled, returning the given value as the result of subsequent invocations of join and related operations.
completeAsync(Supplier<? extends T>, Executor) - Method in class java9.util.concurrent.CompletableFuture
Completes this CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the given executor.
completeAsync(Supplier<? extends T>) - Method in class java9.util.concurrent.CompletableFuture
Completes this CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the default executor.
completedFuture(U) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletableFuture that is already completed with the given value.
completedStage(U) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletionStage that is already completed with the given value and supports only those methods in interface CompletionStage.
completeExceptionally(Throwable) - Method in class java9.util.concurrent.CompletableFuture
If not already completed, causes invocations of CompletableFuture.get() and related methods to throw the given exception.
completeExceptionally(Throwable) - Method in class java9.util.concurrent.ForkJoinTask
Completes this task abnormally, and if not already aborted or cancelled, causes it to throw the given exception upon join and related operations.
completeOnTimeout(T, long, TimeUnit) - Method in class java9.util.concurrent.CompletableFuture
Completes this CompletableFuture with the given value if not otherwise completed before the given timeout.
CompletionStage<T> - Interface in java9.util.concurrent
A stage of a possibly asynchronous computation, that performs an action or computes a value when another CompletionStage completes.
compute() - Method in class java9.util.concurrent.CountedCompleter
The main computation performed by this task.
consume(Consumer<? super T>) - Method in class java9.util.concurrent.SubmissionPublisher
Processes all published items using the given Consumer function.
copy() - Method in class java9.util.concurrent.CompletableFuture
Returns a new CompletableFuture that is completed normally with the same value as this CompletableFuture when it completes normally.
copyOf(Collection<? extends E>) - Static method in class java9.util.Lists
Returns an unmodifiable List containing the elements of the given Collection, in its iteration order.
copyOf(Map<? extends K, ? extends V>) - Static method in class java9.util.Maps
Returns an unmodifiable Map containing the entries of the given Map.
copyOf(Collection<? extends E>) - Static method in class java9.util.Sets
Returns an unmodifiable Set containing the elements of the given Collection.
CountedCompleter<T> - Class in java9.util.concurrent
A ForkJoinTask with a completion action performed when triggered and there are no remaining pending actions.
CountedCompleter(CountedCompleter<?>, int) - Constructor for class java9.util.concurrent.CountedCompleter
Creates a new CountedCompleter with the given completer and initial pending count.
CountedCompleter(CountedCompleter<?>) - Constructor for class java9.util.concurrent.CountedCompleter
Creates a new CountedCompleter with the given completer and an initial pending count of zero.
CountedCompleter() - Constructor for class java9.util.concurrent.CountedCompleter
Creates a new CountedCompleter with no completer and an initial pending count of zero.

D

decrementPendingCountUnlessZero() - Method in class java9.util.concurrent.CountedCompleter
If the pending count is nonzero, (atomically) decrements it.
defaultBufferSize() - Static method in class java9.util.concurrent.Flow
Returns a default value for Publisher or Subscriber buffering, that may be used in the absence of other constraints.
defaultExecutor() - Method in class java9.util.concurrent.CompletableFuture
Returns the default Executor used for async methods that do not specify an Executor.
defaultForkJoinWorkerThreadFactory - Static variable in class java9.util.concurrent.ForkJoinPool
Creates a new ForkJoinWorkerThread.
delayedExecutor(long, TimeUnit, Executor) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new Executor that submits a task to the given base executor after the given delay (or no delay if non-positive).
delayedExecutor(long, TimeUnit) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new Executor that submits a task to the default executor after the given delay (or no delay if non-positive).
drainTasksTo(Collection<? super ForkJoinTask<?>>) - Method in class java9.util.concurrent.ForkJoinPool
Removes all available unexecuted submitted and forked tasks from scheduling queues and adds them to the given collection, without altering their execution status.

E

entry(K, V) - Static method in class java9.util.Maps
Returns an unmodifiable Map.Entry containing the given key and value.
estimateMaximumLag() - Method in class java9.util.concurrent.SubmissionPublisher
Returns an estimate of the maximum number of items produced but not yet consumed among all current subscribers.
estimateMinimumDemand() - Method in class java9.util.concurrent.SubmissionPublisher
Returns an estimate of the minimum number of items requested (via request) but not yet produced, among all current subscribers.
exceptionally(Function<Throwable, ? extends T>) - Method in class java9.util.concurrent.CompletableFuture
 
exceptionally(Function<Throwable, ? extends T>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function.
exceptionallyAsync(Function<Throwable, ? extends T>) - Method in class java9.util.concurrent.CompletableFuture
Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using this stage's default asynchronous execution facility.
exceptionallyAsync(Function<Throwable, ? extends T>, Executor) - Method in class java9.util.concurrent.CompletableFuture
Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using the supplied Executor.
exceptionallyAsync(Function<Throwable, ? extends T>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using this stage's default asynchronous execution facility.
exceptionallyAsync(Function<Throwable, ? extends T>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using the supplied Executor.
exceptionallyCompose(Function<Throwable, ? extends CompletionStage<T>>) - Method in class java9.util.concurrent.CompletableFuture
Returns a new CompletionStage that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception.
exceptionallyCompose(Function<Throwable, ? extends CompletionStage<T>>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception.
exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>) - Method in class java9.util.concurrent.CompletableFuture
Returns a new CompletionStage that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception, using this stage's default asynchronous execution facility.
exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>, Executor) - Method in class java9.util.concurrent.CompletableFuture
Returns a new CompletionStage that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception, using the supplied Executor.
exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception, using this stage's default asynchronous execution facility.
exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception, using the supplied Executor.
exec() - Method in class java9.util.concurrent.CountedCompleter
Implements execution conventions for CountedCompleters.
exec() - Method in class java9.util.concurrent.ForkJoinTask
Immediately performs the base action of this task and returns true if, upon return from this method, this task is guaranteed to have completed.
execute(ForkJoinTask<?>) - Method in class java9.util.concurrent.ForkJoinPool
Arranges for (asynchronous) execution of the given task.
execute(Runnable) - Method in class java9.util.concurrent.ForkJoinPool
 

F

failedFuture(Throwable) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletableFuture that is already completed exceptionally with the given exception.
failedStage(Throwable) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletionStage that is already completed exceptionally with the given exception and supports only those methods in interface CompletionStage.
firstComplete() - Method in class java9.util.concurrent.CountedCompleter
If this task's pending count is zero, returns this task; otherwise decrements its pending count and returns null.
Flow - Class in java9.util.concurrent
Interrelated interfaces and static methods for establishing flow-controlled components in which Publishers produce items consumed by one or more Subscribers, each managed by a Subscription.
Flow.Processor<T,R> - Interface in java9.util.concurrent
A component that acts as both a Subscriber and Publisher.
Flow.Publisher<T> - Interface in java9.util.concurrent
A producer of items (and related control messages) received by Subscribers.
Flow.Subscriber<T> - Interface in java9.util.concurrent
A receiver of messages.
Flow.Subscription - Interface in java9.util.concurrent
Message control linking a Flow.Publisher and Flow.Subscriber.
fork() - Method in class java9.util.concurrent.ForkJoinTask
Arranges to asynchronously execute this task in the pool the current task is running in, if applicable, or using the ForkJoinPool.commonPool() if not ForkJoinTask.inForkJoinPool().
ForkJoinPool - Class in java9.util.concurrent
An ExecutorService for running ForkJoinTasks.
ForkJoinPool() - Constructor for class java9.util.concurrent.ForkJoinPool
ForkJoinPool(int) - Constructor for class java9.util.concurrent.ForkJoinPool
Creates a ForkJoinPool with the indicated parallelism level, using defaults for all other parameters (see ForkJoinPool.ForkJoinPool(int, ForkJoinWorkerThreadFactory, Thread.UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)).
ForkJoinPool(int, ForkJoinPool.ForkJoinWorkerThreadFactory, Thread.UncaughtExceptionHandler, boolean) - Constructor for class java9.util.concurrent.ForkJoinPool
ForkJoinPool(int, ForkJoinPool.ForkJoinWorkerThreadFactory, Thread.UncaughtExceptionHandler, boolean, int, int, int, Predicate<? super ForkJoinPool>, long, TimeUnit) - Constructor for class java9.util.concurrent.ForkJoinPool
Creates a ForkJoinPool with the given parameters.
ForkJoinPool.ForkJoinWorkerThreadFactory - Interface in java9.util.concurrent
Factory for creating new ForkJoinWorkerThreads.
ForkJoinPool.ManagedBlocker - Interface in java9.util.concurrent
Interface for extending managed parallelism for tasks running in ForkJoinPools.
ForkJoinTask<V> - Class in java9.util.concurrent
Abstract base class for tasks that run within a ForkJoinPool.
ForkJoinTask() - Constructor for class java9.util.concurrent.ForkJoinTask
 
ForkJoinWorkerThread - Class in java9.util.concurrent
A thread managed by a ForkJoinPool, which executes ForkJoinTasks.
ForkJoinWorkerThread(ForkJoinPool) - Constructor for class java9.util.concurrent.ForkJoinWorkerThread
Creates a ForkJoinWorkerThread operating in the given pool.

G

get() - Method in class java9.util.concurrent.CompletableFuture
Waits if necessary for this future to complete, and then returns its result.
get(long, TimeUnit) - Method in class java9.util.concurrent.CompletableFuture
Waits if necessary for at most the given time for this future to complete, and then returns its result, if available.
get() - Method in class java9.util.concurrent.ForkJoinTask
Waits if necessary for the computation to complete, and then retrieves its result.
get(long, TimeUnit) - Method in class java9.util.concurrent.ForkJoinTask
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
getActiveThreadCount() - Method in class java9.util.concurrent.ForkJoinPool
Returns an estimate of the number of threads that are currently stealing or executing tasks.
getAsyncMode() - Method in class java9.util.concurrent.ForkJoinPool
Returns true if this pool uses local first-in-first-out scheduling mode for forked tasks that are never joined.
getClosedException() - Method in class java9.util.concurrent.SubmissionPublisher
Returns the exception associated with closeExceptionally, or null if not closed or if closed normally.
getCommonPoolParallelism() - Static method in class java9.util.concurrent.ForkJoinPool
Returns the targeted parallelism level of the common pool.
getCompleter() - Method in class java9.util.concurrent.CountedCompleter
Returns the completer established in this task's constructor, or null if none.
getException() - Method in class java9.util.concurrent.ForkJoinTask
Returns the exception thrown by the base computation, or a CancellationException if cancelled, or null if none or if the method has not yet completed.
getExecutor() - Method in class java9.util.concurrent.SubmissionPublisher
Returns the Executor used for asynchronous delivery.
getFactory() - Method in class java9.util.concurrent.ForkJoinPool
Returns the factory used for constructing new workers.
getForkJoinTaskTag() - Method in class java9.util.concurrent.ForkJoinTask
Returns the tag for this task.
getMaxBufferCapacity() - Method in class java9.util.concurrent.SubmissionPublisher
Returns the maximum per-subscriber buffer capacity.
getNow(T) - Method in class java9.util.concurrent.CompletableFuture
Returns the result value (or throws any encountered exception) if completed, else returns the given valueIfAbsent.
getNumberOfDependents() - Method in class java9.util.concurrent.CompletableFuture
Returns the estimated number of CompletableFutures whose completions are awaiting completion of this CompletableFuture.
getNumberOfSubscribers() - Method in class java9.util.concurrent.SubmissionPublisher
Returns the number of current subscribers.
getParallelism() - Method in class java9.util.concurrent.ForkJoinPool
Returns the targeted parallelism level of this pool.
getPendingCount() - Method in class java9.util.concurrent.CountedCompleter
Returns the current pending count.
getPool() - Static method in class java9.util.concurrent.ForkJoinTask
Returns the pool hosting the current thread, or null if the current thread is executing outside of any ForkJoinPool.
getPool() - Method in class java9.util.concurrent.ForkJoinWorkerThread
Returns the pool hosting this thread.
getPoolIndex() - Method in class java9.util.concurrent.ForkJoinWorkerThread
Returns the unique index number of this thread in its pool.
getPoolSize() - Method in class java9.util.concurrent.ForkJoinPool
Returns the number of worker threads that have started but not yet terminated.
getQueuedSubmissionCount() - Method in class java9.util.concurrent.ForkJoinPool
Returns an estimate of the number of tasks submitted to this pool that have not yet begun executing.
getQueuedTaskCount() - Method in class java9.util.concurrent.ForkJoinPool
Returns an estimate of the total number of tasks currently held in queues by worker threads (but not including tasks submitted to the pool that have not begun executing).
getQueuedTaskCount() - Static method in class java9.util.concurrent.ForkJoinTask
Returns an estimate of the number of tasks that have been forked by the current worker thread but not yet executed.
getRawResult() - Method in class java9.util.concurrent.CountedCompleter
Returns the result of the computation.
getRawResult() - Method in class java9.util.concurrent.ForkJoinTask
Returns the result that would be returned by ForkJoinTask.join(), even if this task completed abnormally, or null if this task is not known to have been completed.
getRoot() - Method in class java9.util.concurrent.CountedCompleter
Returns the root of the current computation; i.e., this task if it has no completer, else its completer's root.
getRunningThreadCount() - Method in class java9.util.concurrent.ForkJoinPool
Returns an estimate of the number of worker threads that are not blocked waiting to join tasks or for other managed synchronization.
getStealCount() - Method in class java9.util.concurrent.ForkJoinPool
Returns an estimate of the total number of completed tasks that were executed by a thread other than their submitter.
getSubscribers() - Method in class java9.util.concurrent.SubmissionPublisher
Returns a list of current subscribers for monitoring and tracking purposes, not for invoking Flow.Subscriber methods on the subscribers.
getSurplusQueuedTaskCount() - Static method in class java9.util.concurrent.ForkJoinTask
Returns an estimate of how many more locally queued tasks are held by the current worker thread than there are other worker threads that might steal them, or zero if this thread is not operating in a ForkJoinPool.
getUncaughtExceptionHandler() - Method in class java9.util.concurrent.ForkJoinPool
Returns the handler for internal worker threads that terminate due to unrecoverable errors encountered while executing tasks.

H

handle(BiFunction<? super T, Throwable, ? extends U>) - Method in class java9.util.concurrent.CompletableFuture
 
handle(BiFunction<? super T, Throwable, ? extends U>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes either normally or exceptionally, is executed with this stage's result and exception as arguments to the supplied function.
handleAsync(BiFunction<? super T, Throwable, ? extends U>) - Method in class java9.util.concurrent.CompletableFuture
 
handleAsync(BiFunction<? super T, Throwable, ? extends U>, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
handleAsync(BiFunction<? super T, Throwable, ? extends U>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes either normally or exceptionally, is executed using this stage's default asynchronous execution facility, with this stage's result and exception as arguments to the supplied function.
handleAsync(BiFunction<? super T, Throwable, ? extends U>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes either normally or exceptionally, is executed using the supplied executor, with this stage's result and exception as arguments to the supplied function.
hasQueuedSubmissions() - Method in class java9.util.concurrent.ForkJoinPool
Returns true if there are any tasks submitted to this pool that have not yet begun executing.
hasSubscribers() - Method in class java9.util.concurrent.SubmissionPublisher
Returns true if this publisher has any subscribers.
helpComplete(int) - Method in class java9.util.concurrent.CountedCompleter
If this task has not completed, attempts to process at most the given number of other unprocessed tasks for which this task is on the completion path, if any are known to exist.
helpQuiesce() - Static method in class java9.util.concurrent.ForkJoinTask
Possibly executes tasks until the pool hosting the current task is quiescent.

I

inForkJoinPool() - Static method in class java9.util.concurrent.ForkJoinTask
Returns true if the current thread is a ForkJoinWorkerThread executing as a ForkJoinPool computation.
invoke(ForkJoinTask<T>) - Method in class java9.util.concurrent.ForkJoinPool
Performs the given task, returning its result upon completion.
invoke() - Method in class java9.util.concurrent.ForkJoinTask
Commences performing this task, awaits its completion if necessary, and returns its result, or throws an (unchecked) RuntimeException or Error if the underlying computation did so.
invokeAll(Collection<? extends Callable<T>>) - Method in class java9.util.concurrent.ForkJoinPool
 
invokeAll(ForkJoinTask<?>, ForkJoinTask<?>) - Static method in class java9.util.concurrent.ForkJoinTask
Forks the given tasks, returning when isDone holds for each task or an (unchecked) exception is encountered, in which case the exception is rethrown.
invokeAll(ForkJoinTask<?>...) - Static method in class java9.util.concurrent.ForkJoinTask
Forks the given tasks, returning when isDone holds for each task or an (unchecked) exception is encountered, in which case the exception is rethrown.
invokeAll(Collection<T>) - Static method in class java9.util.concurrent.ForkJoinTask
Forks all tasks in the specified collection, returning when isDone holds for each task or an (unchecked) exception is encountered, in which case the exception is rethrown.
isCancelled() - Method in class java9.util.concurrent.CompletableFuture
Returns true if this CompletableFuture was cancelled before it completed normally.
isCancelled() - Method in class java9.util.concurrent.ForkJoinTask
 
isClosed() - Method in class java9.util.concurrent.SubmissionPublisher
Returns true if this publisher is not accepting submissions.
isCompletedAbnormally() - Method in class java9.util.concurrent.ForkJoinTask
Returns true if this task threw an exception or was cancelled.
isCompletedExceptionally() - Method in class java9.util.concurrent.CompletableFuture
Returns true if this CompletableFuture completed exceptionally, in any way.
isCompletedNormally() - Method in class java9.util.concurrent.ForkJoinTask
Returns true if this task completed without throwing an exception and was not cancelled.
isDone() - Method in class java9.util.concurrent.CompletableFuture
Returns true if completed in any fashion: normally, exceptionally, or via cancellation.
isDone() - Method in class java9.util.concurrent.ForkJoinTask
 
isQuiescent() - Method in class java9.util.concurrent.ForkJoinPool
Returns true if all worker threads are currently idle.
isReleasable() - Method in interface java9.util.concurrent.ForkJoinPool.ManagedBlocker
Returns true if blocking is unnecessary.
isShutdown() - Method in class java9.util.concurrent.ForkJoinPool
Returns true if this pool has been shut down.
isSubscribed(Flow.Subscriber<? super T>) - Method in class java9.util.concurrent.SubmissionPublisher
Returns true if the given Subscriber is currently subscribed.
isTerminated() - Method in class java9.util.concurrent.ForkJoinPool
Returns true if all tasks have completed following shut down.
isTerminating() - Method in class java9.util.concurrent.ForkJoinPool
Returns true if the process of termination has commenced but not yet completed.

J

java9.util - package java9.util
Provides a Java 8 backport of the JEP 269: Convenience Factory Methods for Collections that were introduced in Java 9.
java9.util.concurrent - package java9.util.concurrent
Some of the Java 8 and Java 9 utility classes commonly used in concurrent programming.
join() - Method in class java9.util.concurrent.CompletableFuture
Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally.
join() - Method in class java9.util.concurrent.ForkJoinTask
Returns the result of the computation when it is done.

L

Lists - Class in java9.util
A place for the implementations of the new Java 9 static interface methods in the List interface specified in JEP 269 "Unmodifiable List Static Factory Methods".

M

managedBlock(ForkJoinPool.ManagedBlocker) - Static method in class java9.util.concurrent.ForkJoinPool
Runs the given possibly blocking task.
Maps - Class in java9.util
A place for the implementations of the new Java 9 static interface methods in the Map interface specified in JEP 269 "Unmodifiable Map Static Factory Methods".
minimalCompletionStage() - Method in class java9.util.concurrent.CompletableFuture
Returns a new CompletionStage that is completed normally with the same value as this CompletableFuture when it completes normally, and cannot be independently completed or otherwise used in ways not defined by the methods of interface CompletionStage.

N

newIncompleteFuture() - Method in class java9.util.concurrent.CompletableFuture
Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method.
newTaskFor(Runnable, T) - Method in class java9.util.concurrent.ForkJoinPool
 
newTaskFor(Callable<T>) - Method in class java9.util.concurrent.ForkJoinPool
 
newThread(ForkJoinPool) - Method in interface java9.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory
Returns a new worker thread operating in the given pool.
nextComplete() - Method in class java9.util.concurrent.CountedCompleter
If this task does not have a completer, invokes ForkJoinTask.quietlyComplete() and returns null.

O

Objects - Class in java9.util
This class consists of static utility methods for operating on objects, or checking certain conditions before operation.
obtrudeException(Throwable) - Method in class java9.util.concurrent.CompletableFuture
Forcibly causes subsequent invocations of method CompletableFuture.get() and related methods to throw the given exception, whether or not already completed.
obtrudeValue(T) - Method in class java9.util.concurrent.CompletableFuture
Forcibly sets or resets the value subsequently returned by method CompletableFuture.get() and related methods, whether or not already completed.
of() - Static method in class java9.util.Lists
Returns an unmodifiable list containing zero elements.
of(E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing one element.
of(E, E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing two elements.
of(E, E, E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing three elements.
of(E, E, E, E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing four elements.
of(E, E, E, E, E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing five elements.
of(E, E, E, E, E, E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing six elements.
of(E, E, E, E, E, E, E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing seven elements.
of(E, E, E, E, E, E, E, E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing eight elements.
of(E, E, E, E, E, E, E, E, E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing nine elements.
of(E, E, E, E, E, E, E, E, E, E) - Static method in class java9.util.Lists
Returns an unmodifiable list containing ten elements.
of(E...) - Static method in class java9.util.Lists
Returns an unmodifiable list containing an arbitrary number of elements.
of() - Static method in class java9.util.Maps
Returns an unmodifiable map containing zero mappings.
of(K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing a single mapping.
of(K, V, K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing two mappings.
of(K, V, K, V, K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing three mappings.
of(K, V, K, V, K, V, K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing four mappings.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing five mappings.
of(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing six mappings.
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing seven mappings.
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing eight mappings.
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing nine mappings.
of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class java9.util.Maps
Returns an unmodifiable map containing ten mappings.
of() - Static method in class java9.util.Sets
Returns an unmodifiable set containing zero elements.
of(E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing one element.
of(E, E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing two elements.
of(E, E, E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing three elements.
of(E, E, E, E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing four elements.
of(E, E, E, E, E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing five elements.
of(E, E, E, E, E, E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing six elements.
of(E, E, E, E, E, E, E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing seven elements.
of(E, E, E, E, E, E, E, E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing eight elements.
of(E, E, E, E, E, E, E, E, E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing nine elements.
of(E, E, E, E, E, E, E, E, E, E) - Static method in class java9.util.Sets
Returns an unmodifiable set containing ten elements.
of(E...) - Static method in class java9.util.Sets
Returns an unmodifiable set containing an arbitrary number of elements.
ofEntries(Map.Entry<? extends K, ? extends V>...) - Static method in class java9.util.Maps
Returns an unmodifiable map containing keys and values extracted from the given entries.
offer(T, BiPredicate<Flow.Subscriber<? super T>, ? super T>) - Method in class java9.util.concurrent.SubmissionPublisher
Publishes the given item, if possible, to each current subscriber by asynchronously invoking its onNext method.
offer(T, long, TimeUnit, BiPredicate<Flow.Subscriber<? super T>, ? super T>) - Method in class java9.util.concurrent.SubmissionPublisher
Publishes the given item, if possible, to each current subscriber by asynchronously invoking its onNext method, blocking while resources for any subscription are unavailable, up to the specified timeout or until the caller thread is interrupted, at which point the given handler (if non-null) is invoked, and if it returns true, retried once.
onComplete() - Method in interface java9.util.concurrent.Flow.Subscriber
Method invoked when it is known that no additional Subscriber method invocations will occur for a Subscription that is not already terminated by error, after which no other Subscriber methods are invoked by the Subscription.
onCompletion(CountedCompleter<?>) - Method in class java9.util.concurrent.CountedCompleter
Performs an action when method CountedCompleter.tryComplete() is invoked and the pending count is zero, or when the unconditional method CountedCompleter.complete(T) is invoked.
onError(Throwable) - Method in interface java9.util.concurrent.Flow.Subscriber
Method invoked upon an unrecoverable error encountered by a Publisher or Subscription, after which no other Subscriber methods are invoked by the Subscription.
onExceptionalCompletion(Throwable, CountedCompleter<?>) - Method in class java9.util.concurrent.CountedCompleter
Performs an action when method ForkJoinTask.completeExceptionally(Throwable) is invoked or method CountedCompleter.compute() throws an exception, and this task has not already otherwise completed normally.
onNext(T) - Method in interface java9.util.concurrent.Flow.Subscriber
Method invoked with a Subscription's next item.
onStart() - Method in class java9.util.concurrent.ForkJoinWorkerThread
Initializes internal state after construction but before processing any tasks.
onSubscribe(Flow.Subscription) - Method in interface java9.util.concurrent.Flow.Subscriber
Method invoked prior to invoking any other Subscriber methods for the given Subscription.
onTermination(Throwable) - Method in class java9.util.concurrent.ForkJoinWorkerThread
Performs cleanup associated with termination of this worker thread.
orTimeout(long, TimeUnit) - Method in class java9.util.concurrent.CompletableFuture
Exceptionally completes this CompletableFuture with a TimeoutException if not otherwise completed before the given timeout.

P

peekNextLocalTask() - Static method in class java9.util.concurrent.ForkJoinTask
Returns, but does not unschedule or execute, a task queued by the current thread but not yet executed, if one is immediately available.
pollNextLocalTask() - Static method in class java9.util.concurrent.ForkJoinTask
Unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if the current thread is operating in a ForkJoinPool.
pollSubmission() - Method in class java9.util.concurrent.ForkJoinPool
Removes and returns the next unexecuted submission if one is available.
pollSubmission() - Static method in class java9.util.concurrent.ForkJoinTask
If the current thread is operating in a ForkJoinPool, unschedules and returns, without executing, a task externally submitted to the pool, if one is available.
pollTask() - Static method in class java9.util.concurrent.ForkJoinTask
If the current thread is operating in a ForkJoinPool, unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if one is available, or if not available, a task that was forked by some other thread, if available.
propagateCompletion() - Method in class java9.util.concurrent.CountedCompleter
Equivalent to CountedCompleter.tryComplete() but does not invoke CountedCompleter.onCompletion(CountedCompleter) along the completion path: If the pending count is nonzero, decrements the count; otherwise, similarly tries to complete this task's completer, if one exists, else marks this task as complete.

Q

quietlyComplete() - Method in class java9.util.concurrent.ForkJoinTask
Completes this task normally without setting a value.
quietlyCompleteRoot() - Method in class java9.util.concurrent.CountedCompleter
Equivalent to getRoot().quietlyComplete().
quietlyInvoke() - Method in class java9.util.concurrent.ForkJoinTask
Commences performing this task and awaits its completion if necessary, without returning its result or throwing its exception.
quietlyJoin() - Method in class java9.util.concurrent.ForkJoinTask
Joins this task, without returning its result or throwing its exception.

R

reinitialize() - Method in class java9.util.concurrent.ForkJoinTask
Resets the internal bookkeeping state of this task, allowing a subsequent fork.
request(long) - Method in interface java9.util.concurrent.Flow.Subscription
Adds the given number n of items to the current unfulfilled demand for this subscription.
requireNonNullElse(T, T) - Static method in class java9.util.Objects
Returns the first argument if it is non-null and otherwise returns the non-null second argument.
requireNonNullElseGet(T, Supplier<? extends T>) - Static method in class java9.util.Objects
Returns the first argument if it is non-null and otherwise returns the non-null value of supplier.get().
run() - Method in class java9.util.concurrent.ForkJoinWorkerThread
This method is required to be public, but should never be called explicitly.
runAfterBoth(CompletionStage<?>, Runnable) - Method in class java9.util.concurrent.CompletableFuture
 
runAfterBoth(CompletionStage<?>, Runnable) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, executes the given action.
runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class java9.util.concurrent.CompletableFuture
 
runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
runAfterBothAsync(CompletionStage<?>, Runnable) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, executes the given action using this stage's default asynchronous execution facility.
runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, executes the given action using the supplied executor.
runAfterEither(CompletionStage<?>, Runnable) - Method in class java9.util.concurrent.CompletableFuture
 
runAfterEither(CompletionStage<?>, Runnable) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, executes the given action.
runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class java9.util.concurrent.CompletableFuture
 
runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, executes the given action using this stage's default asynchronous execution facility.
runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, executes the given action using the supplied executor.
runAsync(Runnable) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletableFuture that is asynchronously completed by a task running in the ForkJoinPool.commonPool() after it runs the given action.
runAsync(Runnable, Executor) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletableFuture that is asynchronously completed by a task running in the given executor after it runs the given action.

S

setForkJoinTaskTag(short) - Method in class java9.util.concurrent.ForkJoinTask
Atomically sets the tag value for this task and returns the old value.
setPendingCount(int) - Method in class java9.util.concurrent.CountedCompleter
Sets the pending count to the given value.
setRawResult(T) - Method in class java9.util.concurrent.CountedCompleter
A method that result-bearing CountedCompleters may optionally use to help maintain result data.
setRawResult(V) - Method in class java9.util.concurrent.ForkJoinTask
Forces the given value to be returned as a result.
Sets - Class in java9.util
A place for the implementations of the new Java 9 static interface methods in the Set interface specified in JEP 269 "Unmodifiable Set Static Factory Methods".
shutdown() - Method in class java9.util.concurrent.ForkJoinPool
Possibly initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
shutdownNow() - Method in class java9.util.concurrent.ForkJoinPool
Possibly attempts to cancel and/or stop all tasks, and reject all subsequently submitted tasks.
SubmissionPublisher<T> - Class in java9.util.concurrent
A Flow.Publisher that asynchronously issues submitted (non-null) items to current subscribers until it is closed.
SubmissionPublisher(Executor, int, BiConsumer<? super Flow.Subscriber<? super T>, ? super Throwable>) - Constructor for class java9.util.concurrent.SubmissionPublisher
Creates a new SubmissionPublisher using the given Executor for async delivery to subscribers, with the given maximum buffer size for each subscriber, and, if non-null, the given handler invoked when any Subscriber throws an exception in method onNext.
SubmissionPublisher(Executor, int) - Constructor for class java9.util.concurrent.SubmissionPublisher
Creates a new SubmissionPublisher using the given Executor for async delivery to subscribers, with the given maximum buffer size for each subscriber, and no handler for Subscriber exceptions in method onNext.
SubmissionPublisher() - Constructor for class java9.util.concurrent.SubmissionPublisher
Creates a new SubmissionPublisher using the ForkJoinPool.commonPool() for async delivery to subscribers (unless it does not support a parallelism level of at least two, in which case, a new Thread is created to run each task), with maximum buffer capacity of Flow.defaultBufferSize(), and no handler for Subscriber exceptions in method onNext.
submit(ForkJoinTask<T>) - Method in class java9.util.concurrent.ForkJoinPool
Submits a ForkJoinTask for execution.
submit(Callable<T>) - Method in class java9.util.concurrent.ForkJoinPool
 
submit(Runnable, T) - Method in class java9.util.concurrent.ForkJoinPool
 
submit(Runnable) - Method in class java9.util.concurrent.ForkJoinPool
 
submit(T) - Method in class java9.util.concurrent.SubmissionPublisher
Publishes the given item to each current subscriber by asynchronously invoking its onNext method, blocking uninterruptibly while resources for any subscriber are unavailable.
subscribe(Flow.Subscriber<? super T>) - Method in interface java9.util.concurrent.Flow.Publisher
Adds the given Subscriber if possible.
subscribe(Flow.Subscriber<? super T>) - Method in class java9.util.concurrent.SubmissionPublisher
Adds the given Subscriber unless already subscribed.
supplyAsync(Supplier<U>) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletableFuture that is asynchronously completed by a task running in the ForkJoinPool.commonPool() with the value obtained by calling the given Supplier.
supplyAsync(Supplier<U>, Executor) - Static method in class java9.util.concurrent.CompletableFuture
Returns a new CompletableFuture that is asynchronously completed by a task running in the given executor with the value obtained by calling the given Supplier.

T

thenAccept(Consumer<? super T>) - Method in class java9.util.concurrent.CompletableFuture
 
thenAccept(Consumer<? super T>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes normally, is executed with this stage's result as the argument to the supplied action.
thenAcceptAsync(Consumer<? super T>) - Method in class java9.util.concurrent.CompletableFuture
 
thenAcceptAsync(Consumer<? super T>, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
thenAcceptAsync(Consumer<? super T>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes normally, is executed using this stage's default asynchronous execution facility, with this stage's result as the argument to the supplied action.
thenAcceptAsync(Consumer<? super T>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes normally, is executed using the supplied Executor, with this stage's result as the argument to the supplied action.
thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class java9.util.concurrent.CompletableFuture
 
thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, is executed with the two results as arguments to the supplied action.
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class java9.util.concurrent.CompletableFuture
 
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, is executed using this stage's default asynchronous execution facility, with the two results as arguments to the supplied action.
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, is executed using the supplied executor, with the two results as arguments to the supplied action.
thenApply(Function<? super T, ? extends U>) - Method in class java9.util.concurrent.CompletableFuture
 
thenApply(Function<? super T, ? extends U>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes normally, is executed with this stage's result as the argument to the supplied function.
thenApplyAsync(Function<? super T, ? extends U>) - Method in class java9.util.concurrent.CompletableFuture
 
thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
thenApplyAsync(Function<? super T, ? extends U>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes normally, is executed using this stage's default asynchronous execution facility, with this stage's result as the argument to the supplied function.
thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes normally, is executed using the supplied Executor, with this stage's result as the argument to the supplied function.
thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class java9.util.concurrent.CompletableFuture
 
thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, is executed with the two results as arguments to the supplied function.
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class java9.util.concurrent.CompletableFuture
 
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, is executed using this stage's default asynchronous execution facility, with the two results as arguments to the supplied function.
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, is executed using the supplied executor, with the two results as arguments to the supplied function.
thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in class java9.util.concurrent.CompletableFuture
 
thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that is completed with the same value as the CompletionStage returned by the given function.
thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in class java9.util.concurrent.CompletableFuture
 
thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that is completed with the same value as the CompletionStage returned by the given function, executed using this stage's default asynchronous execution facility.
thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that is completed with the same value as the CompletionStage returned by the given function, executed using the supplied Executor.
thenRun(Runnable) - Method in class java9.util.concurrent.CompletableFuture
 
thenRun(Runnable) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes normally, executes the given action.
thenRunAsync(Runnable) - Method in class java9.util.concurrent.CompletableFuture
 
thenRunAsync(Runnable, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
thenRunAsync(Runnable) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes normally, executes the given action using this stage's default asynchronous execution facility.
thenRunAsync(Runnable, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage that, when this stage completes normally, executes the given action using the supplied Executor.
toCompletableFuture() - Method in class java9.util.concurrent.CompletableFuture
Returns this CompletableFuture.
toCompletableFuture() - Method in interface java9.util.concurrent.CompletionStage
Returns a CompletableFuture maintaining the same completion properties as this stage.
toString() - Method in class java9.util.concurrent.CompletableFuture
Returns a string identifying this CompletableFuture, as well as its completion state.
toString() - Method in class java9.util.concurrent.ForkJoinPool
Returns a string identifying this pool, as well as its state, including indications of run state, parallelism level, and worker and task counts.
tryComplete() - Method in class java9.util.concurrent.CountedCompleter
If the pending count is nonzero, decrements the count; otherwise invokes CountedCompleter.onCompletion(CountedCompleter) and then similarly tries to complete this task's completer, if one exists, else marks this task as complete.
tryUnfork() - Method in class java9.util.concurrent.ForkJoinTask
Tries to unschedule this task for execution.

W

whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in class java9.util.concurrent.CompletableFuture
 
whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage with the same result or exception as this stage, that executes the given action when this stage completes.
whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in class java9.util.concurrent.CompletableFuture
 
whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class java9.util.concurrent.CompletableFuture
 
whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage with the same result or exception as this stage, that executes the given action using this stage's default asynchronous execution facility when this stage completes.
whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in interface java9.util.concurrent.CompletionStage
Returns a new CompletionStage with the same result or exception as this stage, that executes the given action using the supplied Executor when this stage completes.
A B C D E F G H I J L M N O P Q R S T W 
Skip navigation links

Copyright © 2020. All rights reserved.