程序包的使用
cn.taketoday.util.concurrent
程序包
说明
This package defines core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
Support classes for TaskExecutor abstraction.
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 SettableFutureTheCompleteFuturewhich is failed already.Failure callback for aListenableFuture.Listens to the result of aListenableFuture.ExtendFuturewith the capability to accept completion callbacks.ASettableFuturewhich is used to indicate the progress of an operation.Listens to the result of aProgressiveFuture.SpecialListenableFuturewhich is writable.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.