程序包 cn.taketoday.util.concurrent
@NonNullApi
@NonNullFields
package cn.taketoday.util.concurrent
Useful generic
java.util.concurrent.Future extensions.-
类说明Abstract
ListenableFutureimplementation which does not allow for cancellation.A skeletalListenableFutureimplementation which represents aListenableFuturewhich has been completed already.Default SettableFutureDefault ProgressiveFutureExtension ofCompletableFuturewhich allows for cancelling a delegate along with theCompletableFutureitself.FailedFuture<V>TheCompleteFuturewhich is failed already.Failure callback for aListenableFuture.FutureListener<F extends ListenableFuture<?>>Listens to the result of aListenableFuture.Convenience utilities for working withFutureand implementations.ExtendFuturewith the capability to accept completion callbacks.RunnableFutureASettableFuturewhich is used to indicate the progress of an operation.ProgressiveFutureListener<F extends ProgressiveFuture<?>>Listens to the result of aProgressiveFuture.SpecialListenableFuturewhich is writable.A SettableFuture combiner monitors the outcome of a number of discrete futures, then notifies a final, aggregate SettableFuture when all of the combined futures are finished.SettableFutureNotifier<V,F extends ListenableFuture<V>> FutureListenerimplementation which takes otherSettableFutures and notifies them on completion.Reentrant lock that can be used in a try-with-resources statement.A reentrant lock with a condition that can be used in a try-with-resources statement.TheCompleteFuturewhich is succeeded already.Success callback for aListenableFuture.