package

androidx.concurrent.futures

Interfaces

CallbackToFutureAdapter.Resolver<T>This interface should be implemented by the object passed into CallbackToFutureAdapter.getFuture(CallbackToFutureAdapter.Resolver).

Classes

AbstractFuture<V>An abstract implementation of , intended for advanced users only.
AbstractResolvableFuture<V>An AndroidX version of Guava's AbstractFuture.
CallbackToFutureAdapterA utility useful for adapting interfaces that take callbacks into interfaces that return .
CallbackToFutureAdapter.Completer<T>Used to complete the future returned by CallbackToFutureAdapter.getFuture(CallbackToFutureAdapter.Resolver)
ResolvableFuture<V>An AndroidX version of Guava's SettableFuture.
SettableFuture<V>A whose result can be set by a SettableFuture.set(V), SettableFuture.setException(Throwable) or SettableFuture call.

Enums

DirectExecutorAn java.util.concurrent.Executor that runs each task in the thread that invokes execute.