A B C D E F G H I N O R S T V W 
All Classes All Packages

A

accept(A, B) - Method in interface io.github.futures4j.util.ThrowingBiConsumer
 
accept(I) - Method in interface io.github.futures4j.util.ThrowingConsumer
 
acceptEither(CompletionStage<? extends T>, ThrowingConsumer<? super T, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
acceptEither(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.github.futures4j.ExtendedFuture
 
acceptEitherAsync(CompletionStage<? extends T>, ThrowingConsumer<? super T, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
acceptEitherAsync(CompletionStage<? extends T>, ThrowingConsumer<? super T, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.github.futures4j.ExtendedFuture
 
acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
acceptOrThrow(A, B) - Method in interface io.github.futures4j.util.ThrowingBiConsumer
 
acceptOrThrow(I) - Method in interface io.github.futures4j.util.ThrowingConsumer
 
add(Future<? extends Iterable<? extends T>>) - Method in class io.github.futures4j.Futures.FlatteningCombiner
Adds a future to the combiner.
add(Future<? extends T>) - Method in class io.github.futures4j.Futures.Combiner
Adds a future to the combiner.
addTo(Futures.Combiner<T>) - Method in class io.github.futures4j.ExtendedFuture
Adds this future to the given Futures.Combiner.
addTo(Consumer<Future<T>>) - Method in class io.github.futures4j.ExtendedFuture
Passes this future to the given Consumer.
allOf(CompletableFuture<?>...) - Static method in class io.github.futures4j.ExtendedFuture
Returns a new ExtendedFuture that completes when all of the given futures complete.
anyOf(CompletableFuture<?>...) - Static method in class io.github.futures4j.ExtendedFuture
Returns a new ExtendedFuture that completes when any of the given futures complete.
apply(I) - Method in interface io.github.futures4j.util.ThrowingFunction
 
apply(I1, I2) - Method in interface io.github.futures4j.util.ThrowingBiFunction
 
applyOrThrow(I) - Method in interface io.github.futures4j.util.ThrowingFunction
 
applyOrThrow(I1, I2) - Method in interface io.github.futures4j.util.ThrowingBiFunction
 
applyToEither(CompletionStage<? extends T>, ThrowingFunction<? super T, U, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
applyToEither(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.github.futures4j.ExtendedFuture
 
applyToEitherAsync(CompletionStage<? extends T>, ThrowingFunction<? super T, U, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
applyToEitherAsync(CompletionStage<? extends T>, ThrowingFunction<? super T, U, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.github.futures4j.ExtendedFuture
 
applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
asCancellableByDependents(boolean) - Method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that shares the result with this future but allows control over whether cancellation of dependent stages cancels this future.
asNonInterruptible() - Method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that shares the result with this future but ensures that this future cannot be interrupted, i.e., calling cancel(true) will not result in a thread interruption.
asReadOnly(ExtendedFuture.ReadOnlyMode) - Method in class io.github.futures4j.ExtendedFuture
Creates a read-only view of this ExtendedFuture.

B

build() - Method in class io.github.futures4j.ExtendedFuture.Builder
Builds an ExtendedFuture instance with the configured settings.
builder(Class<V>) - Static method in class io.github.futures4j.ExtendedFuture
Creates a new ExtendedFuture.Builder for constructing an ExtendedFuture.
Builder() - Constructor for class io.github.futures4j.ExtendedFuture.Builder
 

C

cancel(boolean) - Method in class io.github.futures4j.ExtendedFuture
cancel(Future<?>) - Static method in class io.github.futures4j.Futures
Cancels the future if it is incomplete, without interrupting running tasks.
cancel(Future<?>, boolean) - Static method in class io.github.futures4j.Futures
Cancels the future if it is incomplete.
cancelAll(boolean) - Method in class io.github.futures4j.Futures.CombinedFuture
Cancels this future and all combined futures.
cancelInterruptibly(Future<?>) - Static method in class io.github.futures4j.Futures
Cancels the future if it is incomplete, interrupting if running.
cancellableByDependents - Variable in class io.github.futures4j.ExtendedFuture
 
cancellablePrecedingStages - Variable in class io.github.futures4j.ExtendedFuture
 
CANCELLED - io.github.futures4j.CompletionState
Indicates that the task was cancelled before it completed.
combine(Iterable<? extends Future<? extends T>>) - Static method in class io.github.futures4j.Futures
Creates a new Futures.Combiner and adds the specified futures to it.
combine(Future<? extends T>...) - Static method in class io.github.futures4j.Futures
Creates a new Futures.Combiner and adds the specified futures to it.
combineFlattened(Iterable<? extends Future<? extends Iterable<? extends T>>>) - Static method in class io.github.futures4j.Futures
Creates a new Futures.FlatteningCombiner and adds the specified futures to it.
combineFlattened(Future<? extends Iterable<T>>...) - Static method in class io.github.futures4j.Futures
Creates a new Futures.FlatteningCombiner and adds the specified futures to it.
Combiner() - Constructor for class io.github.futures4j.Futures.Combiner
 
complete(T) - Method in class io.github.futures4j.ExtendedFuture
Completes this future with the given value if not already completed.
completeAsync(ThrowingSupplier<? extends T, ?>) - Method in class io.github.futures4j.ExtendedFuture
Completes this future with the result of the given throwing supplier function, running it asynchronously using the default executor.
completeAsync(ThrowingSupplier<? extends T, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
Completes this future with the result of the given throwing supplier function, running it asynchronously using the specified executor.
completeAsync(Supplier<? extends T>) - Method in class io.github.futures4j.ExtendedFuture
Completes this future with the result of the given supplier function, running it asynchronously using the default executor.
completeAsync(Supplier<? extends T>, Executor) - Method in class io.github.futures4j.ExtendedFuture
Completes this future with the result of the given supplier function, running it asynchronously using the specified executor.
completedFuture(V) - Static method in class io.github.futures4j.ExtendedFuture
Returns a completed ExtendedFuture with the given value.
completeExceptionally(Throwable) - Method in class io.github.futures4j.ExtendedFuture
Completes this future exceptionally with the given exception if not already completed.
completeOnTimeout(T, long, TimeUnit) - Method in class io.github.futures4j.ExtendedFuture
 
completeWith(CompletableFuture<? extends T>) - Method in class io.github.futures4j.ExtendedFuture
Completes this ExtendedFuture when the provided CompletableFuture finishes, with either its result or its exception.
CompletionState - Enum in io.github.futures4j
Enumerates the possible completion states of a Future, providing a unified way to determine whether a task is still running, completed successfully, cancelled, or failed due to an exception.
copy() - Method in class io.github.futures4j.ExtendedFuture
 

D

defaultExecutor - Variable in class io.github.futures4j.ExtendedFuture
 
defaultExecutor() - Method in class io.github.futures4j.ExtendedFuture
 

E

exceptionally(ThrowingFunction<Throwable, ? extends T, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
exceptionally(Function<Throwable, ? extends T>) - Method in class io.github.futures4j.ExtendedFuture
 
exceptionallyAsync(ThrowingFunction<Throwable, ? extends T, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
exceptionallyAsync(ThrowingFunction<Throwable, ? extends T, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
exceptionallyAsync(Function<Throwable, ? extends T>) - Method in class io.github.futures4j.ExtendedFuture
This method emulates the CompletableFuture's exceptionallyAsync method introduced in Java 12.
exceptionallyAsync(Function<Throwable, ? extends T>, Executor) - Method in class io.github.futures4j.ExtendedFuture
This method emulates the CompletableFuture's exceptionallyAsync method introduced in Java 12.
exceptionallyCompose(ThrowingFunction<Throwable, ? extends CompletionStage<T>, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
exceptionallyCompose(Function<Throwable, ? extends CompletionStage<T>>) - Method in class io.github.futures4j.ExtendedFuture
This method emulates the CompletableFuture's exceptionallyCompose method introduced in Java 12.
exceptionallyComposeAsync(ThrowingFunction<Throwable, ? extends CompletionStage<T>, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
exceptionallyComposeAsync(ThrowingFunction<Throwable, ? extends CompletionStage<T>, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>) - Method in class io.github.futures4j.ExtendedFuture
This method emulates the CompletableFuture's exceptionallyComposeAsync method introduced in Java 12.
exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>, Executor) - Method in class io.github.futures4j.ExtendedFuture
This method emulates the CompletableFuture's exceptionallyComposeAsync method introduced in Java 12.
exceptionNow() - Method in class io.github.futures4j.ExtendedFuture
This method emulates the CompletableFuture's exceptionNow method introduced in Java 19.
ExtendedFuture<T> - Class in io.github.futures4j
An enhanced version of CompletableFuture providing additional features: Interruptible Tasks: Allows task thread interruption via cancel(true).
ExtendedFuture() - Constructor for class io.github.futures4j.ExtendedFuture
Creates a new ExtendedFuture with default settings.
ExtendedFuture.Builder<V> - Class in io.github.futures4j
A builder for constructing customized ExtendedFuture instances with specific configurations.
ExtendedFuture.ReadOnlyMode - Enum in io.github.futures4j
Modes for creating a read-only view of an ExtendedFuture.

F

FAILED - io.github.futures4j.CompletionState
Indicates that the task completed with an exception (excluding cancellation exceptions).
failedFuture(Throwable) - Static method in class io.github.futures4j.ExtendedFuture
Returns a completed ExtendedFuture that has completed exceptionally with the given exception.
FlatteningCombiner() - Constructor for class io.github.futures4j.Futures.FlatteningCombiner
 
forwardCancellation(Future<?>) - Method in class io.github.futures4j.ExtendedFuture
Propagates the cancellation of this ExtendedFuture to another Future.
forwardCancellation(CompletableFuture<?>, Collection<? extends Future<?>>) - Static method in class io.github.futures4j.Futures
Propagates the cancellation of a CompletableFuture to other Futures.
forwardCancellation(CompletableFuture<?>, Future<?>) - Static method in class io.github.futures4j.Futures
Propagates the cancellation of a CompletableFuture to another Future.
forwardCancellation(CompletableFuture<?>, Future<?>...) - Static method in class io.github.futures4j.Futures
Propagates the cancellation of a CompletableFuture to other Futures.
forwardCancellation(Future<?>...) - Method in class io.github.futures4j.ExtendedFuture
Propagates the cancellation of this ExtendedFuture to other Futures.
forwardCancellationTo(Collection<? extends Future<?>>) - Method in class io.github.futures4j.ExtendedFuture
Propagates the cancellation of this ExtendedFuture to other Futures.
from(CompletableFuture<V>) - Static method in class io.github.futures4j.ExtendedFuture
Wraps a given CompletableFuture into an ExtendedFuture.
Futures - Class in io.github.futures4j
Utility class for working with Future instances.
Futures.CombinedFuture<FROM,​TO> - Class in io.github.futures4j
Represents a future that combines multiple futures into a single future.
Futures.Combiner<T> - Class in io.github.futures4j
Builder class for aggregating multiple Future instances that return type T.
Futures.FlatteningCombiner<T> - Class in io.github.futures4j
Builder class for aggregating multiple Future instances that return collections of type T, and flattening the results into a single collection.

G

get() - Method in interface io.github.futures4j.util.ThrowingSupplier
 
getCombinedFutures() - Method in class io.github.futures4j.Futures.CombinedFuture
 
getFutures() - Method in class io.github.futures4j.Futures.Combiner
 
getFutures() - Method in class io.github.futures4j.Futures.FlatteningCombiner
 
getNowOptional() - Method in class io.github.futures4j.ExtendedFuture
Returns the result of this future if it is already completed wrapped in an Optional, or an empty Optional if the future is incomplete, cancelled or failed.
getNowOptional(Future<T>) - Static method in class io.github.futures4j.Futures
Returns the result of the given Future if it is already completed, wrapped in an Optional, or an empty Optional if the future is incomplete, cancelled, or failed.
getNowOrComputeFallback(Future<T>, BiFunction<Future<T>, Exception, T>) - Static method in class io.github.futures4j.Futures
Returns the result of the given Future if it is already completed, or the value computed by fallbackComputer if the future is incomplete or failed.
getNowOrComputeFallback(Future<T>, Function<Exception, T>) - Static method in class io.github.futures4j.Futures
Returns the result of the given Future if it is already completed, or the value computed by fallbackComputer if the future is incomplete or failed.
getNowOrComputeFallback(BiFunction<Future<T>, Exception, T>) - Method in class io.github.futures4j.ExtendedFuture
Returns the result of this future if it is already completed, or the value provided by fallbackComputer if the future is incomplete, cancelled or failed.
getNowOrComputeFallback(Function<Exception, T>) - Method in class io.github.futures4j.ExtendedFuture
Returns the result of this future if it is already completed, or the value provided by fallbackComputer if the future is incomplete, cancelled or failed.
getNowOrFallback(Future<T>, T) - Static method in class io.github.futures4j.Futures
Returns the result of the given Future if it is already completed, or the specified fallback if the future is incomplete or failed.
getNowOrFallback(T) - Method in class io.github.futures4j.ExtendedFuture
Returns the result of this future if it is already completed, or the specified fallback if the future is incomplete, cancelled or failed.
getOptional() - Method in class io.github.futures4j.ExtendedFuture
Attempts to retrieve the result this future within the specified timeout.
getOptional(long, TimeUnit) - Method in class io.github.futures4j.ExtendedFuture
Attempts to retrieve the result this future within the specified timeout.
getOptional(Future<T>) - Static method in class io.github.futures4j.Futures
Attempts to retrieve the result of the given Future.
getOptional(Future<T>, long, TimeUnit) - Static method in class io.github.futures4j.Futures
Attempts to retrieve the result of the given Future within the specified timeout.
getOrComputeFallback(Future<T>, BiFunction<Future<T>, Exception, T>) - Static method in class io.github.futures4j.Futures
Waits for the given Future to complete and returns its result if it completes normally.
getOrComputeFallback(Future<T>, BiFunction<Future<T>, Exception, T>, long, TimeUnit) - Static method in class io.github.futures4j.Futures
Waits up to the specified timeout for the given Future to complete and returns its result if it completes normally.
getOrComputeFallback(Future<T>, Function<Exception, T>) - Static method in class io.github.futures4j.Futures
Waits for the given Future to complete and returns its result if it completes normally.
getOrComputeFallback(Future<T>, Function<Exception, T>, long, TimeUnit) - Static method in class io.github.futures4j.Futures
Waits up to the specified timeout for the given Future to complete and returns its result if it completes normally.
getOrComputeFallback(BiFunction<Future<T>, Exception, T>) - Method in class io.github.futures4j.ExtendedFuture
Attempts to retrieve the result of this future.
getOrComputeFallback(BiFunction<Future<T>, Exception, T>, long, TimeUnit) - Method in class io.github.futures4j.ExtendedFuture
Attempts to retrieve the result of this future within the specified timeout.
getOrComputeFallback(Function<Exception, T>) - Method in class io.github.futures4j.ExtendedFuture
Attempts to retrieve the result of this future.
getOrComputeFallback(Function<Exception, T>, long, TimeUnit) - Method in class io.github.futures4j.ExtendedFuture
Attempts to retrieve the result of this future within the specified timeout.
getOrFallback(Future<T>, T) - Static method in class io.github.futures4j.Futures
Waits for the given Future to complete and returns its result if it completes normally.
getOrFallback(Future<T>, T, long, TimeUnit) - Static method in class io.github.futures4j.Futures
Waits up to the specified timeout for the given Future to complete and returns its result if it completes normally.
getOrFallback(T) - Method in class io.github.futures4j.ExtendedFuture
Attempts to retrieve the result of this future.
getOrFallback(T, long, TimeUnit) - Method in class io.github.futures4j.ExtendedFuture
Attempts to retrieve the result of this future within the specified timeout.
getOrThrow() - Method in interface io.github.futures4j.util.ThrowingSupplier
 

H

handle(BiFunction<? super T, Throwable, ? extends U>) - Method in class io.github.futures4j.ExtendedFuture
 
handleAsync(BiFunction<? super T, Throwable, ? extends U>) - Method in class io.github.futures4j.ExtendedFuture
 
handleAsync(BiFunction<? super T, Throwable, ? extends U>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 

I

IGNORE_MUTATION - io.github.futures4j.ExtendedFuture.ReadOnlyMode
Mutation attempts will be silently ignored.
INCOMPLETE - io.github.futures4j.CompletionState
Indicates that the task hasn't started or is still in progress.
interruptibleStages - Variable in class io.github.futures4j.ExtendedFuture
 
io.github.futures4j - package io.github.futures4j
 
io.github.futures4j.util - package io.github.futures4j.util
 
isCancellableByDependents() - Method in class io.github.futures4j.ExtendedFuture
Returns true if this future is cancellable by its dependent stages.
isFailed() - Method in class io.github.futures4j.ExtendedFuture
Returns true if this ExtendedFuture was completed exceptionally, excluding cancellation.
isIncomplete() - Method in class io.github.futures4j.ExtendedFuture
Returns true if this future is incomplete.
isInterruptible() - Method in class io.github.futures4j.ExtendedFuture
Returns true if this future is interruptible, i.e., cancel(true) will result in thread interruption.
isInterruptibleStages() - Method in class io.github.futures4j.ExtendedFuture
Returns true if new stages created from this future are interruptible.
isReadOnly() - Method in class io.github.futures4j.ExtendedFuture
Returns true if this future cannot be completed programmatically through methods like ExtendedFuture.cancel(boolean) or ExtendedFuture.complete(Object).
isSuccess() - Method in class io.github.futures4j.ExtendedFuture
Returns true if this future completed normally.

N

newIncompleteFuture() - Method in class io.github.futures4j.ExtendedFuture
 

O

of(Future<?>) - Static method in enum io.github.futures4j.CompletionState
Determines the CompletionState of the given Future based on its current status.

R

resultNow() - Method in class io.github.futures4j.ExtendedFuture
This method emulates the CompletableFuture's resultNow method introduced in Java 19.
run() - Method in interface io.github.futures4j.util.ThrowingRunnable
 
runAfterBoth(CompletionStage<?>, ThrowingRunnable<?>) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterBoth(CompletionStage<?>, Runnable) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterBothAsync(CompletionStage<?>, ThrowingRunnable<?>) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterBothAsync(CompletionStage<?>, ThrowingRunnable<?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterEither(CompletionStage<?>, ThrowingRunnable<?>) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterEither(CompletionStage<?>, Runnable) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterEitherAsync(CompletionStage<?>, ThrowingRunnable<?>) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterEitherAsync(CompletionStage<?>, ThrowingRunnable<?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class io.github.futures4j.ExtendedFuture
 
runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
runAsync(ThrowingRunnable<?>) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that runs the given throwing runnable asynchronously.
runAsync(ThrowingRunnable<?>, Executor) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that runs the given throwing runnable asynchronously using the provided executor.
runAsync(Runnable) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that runs the given runnable asynchronously.
runAsync(Runnable, Executor) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that runs the given runnable asynchronously using the provided executor.
runAsyncWithDefaultExecutor(ThrowingRunnable<?>, Executor) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture with a specified default executor that runs the given throwing runnable asynchronously.
runOrThrow() - Method in interface io.github.futures4j.util.ThrowingRunnable
 

S

SUCCESS - io.github.futures4j.CompletionState
Indicates that the task completed successfully without throwing any exceptions.
supplyAsync(ThrowingSupplier<V, ?>) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that runs the given throwing supplier asynchronously.
supplyAsync(ThrowingSupplier<V, ?>, Executor) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that runs the given throwing supplier asynchronously using the provided executor.
supplyAsync(Supplier<V>) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that runs the given supplier asynchronously.
supplyAsync(Supplier<V>, Executor) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that runs the given supplier asynchronously using the provided executor.
supplyAsyncWithDefaultExecutor(ThrowingSupplier<V, ?>, Executor) - Static method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture with a specified default executor that runs the given throwing supplier asynchronously.

T

thenAccept(ThrowingConsumer<? super T, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenAccept(Consumer<? super T>) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptAsync(ThrowingConsumer<? super T, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptAsync(ThrowingConsumer<? super T, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptAsync(Consumer<? super T>) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptAsync(Consumer<? super T>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptBoth(CompletionStage<? extends U>, ThrowingBiConsumer<? super T, ? super U, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptBothAsync(CompletionStage<? extends U>, ThrowingBiConsumer<? super T, ? super U, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptBothAsync(CompletionStage<? extends U>, ThrowingBiConsumer<? super T, ? super U, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.github.futures4j.ExtendedFuture
 
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenApply(ThrowingFunction<? super T, ? extends U, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenApply(Function<? super T, ? extends U>) - Method in class io.github.futures4j.ExtendedFuture
 
thenApplyAsync(ThrowingFunction<? super T, ? extends U, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenApplyAsync(ThrowingFunction<? super T, ? extends U, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenApplyAsync(Function<? super T, ? extends U>) - Method in class io.github.futures4j.ExtendedFuture
 
thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenCombine(CompletionStage<? extends U>, ThrowingBiFunction<? super T, ? super U, ? extends V, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.github.futures4j.ExtendedFuture
 
thenCombineAsync(CompletionStage<? extends U>, ThrowingBiFunction<? super T, ? super U, ? extends V, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenCombineAsync(CompletionStage<? extends U>, ThrowingBiFunction<? super T, ? super U, ? extends V, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.github.futures4j.ExtendedFuture
 
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenCompose(ThrowingFunction<? super T, ? extends CompletionStage<U>, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in class io.github.futures4j.ExtendedFuture
 
thenComposeAsync(ThrowingFunction<? super T, ? extends CompletionStage<U>, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenComposeAsync(ThrowingFunction<? super T, ? extends CompletionStage<U>, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in class io.github.futures4j.ExtendedFuture
 
thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenRun(ThrowingRunnable<?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenRun(Runnable) - Method in class io.github.futures4j.ExtendedFuture
 
thenRunAsync(ThrowingRunnable<?>) - Method in class io.github.futures4j.ExtendedFuture
 
thenRunAsync(ThrowingRunnable<?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
thenRunAsync(Runnable) - Method in class io.github.futures4j.ExtendedFuture
 
thenRunAsync(Runnable, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
THROW_ON_MUTATION - io.github.futures4j.ExtendedFuture.ReadOnlyMode
Mutation attempts will throw UnsupportedOperationException.
ThrowingBiConsumer<A,​B,​X extends Throwable> - Interface in io.github.futures4j.util
 
ThrowingBiFunction<I1,​I2,​O,​X extends Throwable> - Interface in io.github.futures4j.util
 
ThrowingConsumer<I,​X extends Throwable> - Interface in io.github.futures4j.util
 
ThrowingFunction<I,​O,​X extends Throwable> - Interface in io.github.futures4j.util
 
ThrowingRunnable<X extends Throwable> - Interface in io.github.futures4j.util
 
ThrowingSupplier<I,​X extends Throwable> - Interface in io.github.futures4j.util
 
toAnyOf() - Method in class io.github.futures4j.Futures.Combiner
Returns a new ExtendedFuture that completes when any of the combined futures complete, with the result or exception of the first future that completes.
toAnyOfDeferringExceptions() - Method in class io.github.futures4j.Futures.Combiner
Returns a new ExtendedFuture that completes when any of the combined futures complete successfully.
toList() - Method in class io.github.futures4j.Futures.Combiner
Combines the results of the added futures into a single future returning a List of results.
toList() - Method in class io.github.futures4j.Futures.FlatteningCombiner
Combines the results of the added futures into a single future returning a List of results.
toMap() - Method in class io.github.futures4j.Futures.Combiner
Combines the results of the added futures into a single future returning a Map of futures to results.
toSet() - Method in class io.github.futures4j.Futures.Combiner
Combines the results of the added futures into a single future returning a Set of results.
toSet() - Method in class io.github.futures4j.Futures.FlatteningCombiner
Combines the results of the added futures into a single future returning a Set of results.
toStream() - Method in class io.github.futures4j.Futures.Combiner
Combines the results of the added futures into a single future returning a Stream of results.
toStream() - Method in class io.github.futures4j.Futures.FlatteningCombiner
Combines the results of the added futures into a single future returning a Stream of results.

V

valueOf(String) - Static method in enum io.github.futures4j.CompletionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.futures4j.ExtendedFuture.ReadOnlyMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.futures4j.CompletionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.futures4j.ExtendedFuture.ReadOnlyMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

whenComplete(ThrowingBiConsumer<? super T, ? super Throwable, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in class io.github.futures4j.ExtendedFuture
 
whenCompleteAsync(ThrowingBiConsumer<? super T, ? super Throwable, ?>) - Method in class io.github.futures4j.ExtendedFuture
 
whenCompleteAsync(ThrowingBiConsumer<? super T, ? super Throwable, ?>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in class io.github.futures4j.ExtendedFuture
 
whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class io.github.futures4j.ExtendedFuture
 
withCancellableByDependents(boolean) - Method in class io.github.futures4j.ExtendedFuture.Builder
Sets whether the future can be cancelled by its dependent stages.
withCompletedValue(V) - Method in class io.github.futures4j.ExtendedFuture.Builder
Completes the newly constructed future with the given value.
withDefaultExecutor(Executor) - Method in class io.github.futures4j.ExtendedFuture.Builder
Sets the default executor for this future and all subsequent stages.
withDefaultExecutor(Executor) - Method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that shares the result with this future, but with the specified Executor as the default for asynchronous operations of subsequent stages.
withInterruptible(boolean) - Method in class io.github.futures4j.ExtendedFuture.Builder
Sets whether the future is interruptible.
withInterruptibleStages(boolean) - Method in class io.github.futures4j.ExtendedFuture.Builder
Sets whether new stages are interruptible.
withInterruptibleStages(boolean) - Method in class io.github.futures4j.ExtendedFuture
Returns an ExtendedFuture that shares the result with this future but with the specified behavior for new stages being interruptible or not.
withWrapped(CompletableFuture<V>) - Method in class io.github.futures4j.ExtendedFuture.Builder
Wraps an existing CompletableFuture with an ExtendedFuture.
A B C D E F G H I N O R S T V W 
All Classes All Packages