Package org.springframework.util.concurrent
@NonNullApi
@NonNullFields
package org.springframework.util.concurrent
Useful generic
java.util.concurrent.Future extensions.-
ClassDescriptionFailure callback for a
ListenableFuture.FutureAdapter<T,S> Abstract class that adapts aFutureparameterized over S into aFutureparameterized over T.ExtendFuturewith the capability to accept completion callbacks.Abstract class that adapts aListenableFutureparameterized over S into aListenableFutureparameterized over T.Callback mechanism for the outcome, success or failure, from aListenableFuture.Helper class forListenableFutureimplementations that maintains a of success and failure callbacks and helps to notify them.Extension ofFutureTaskthat implementsListenableFuture.Adapts aMonointo aListenableFutureby obtaining aCompletableFuturefrom theMonoviaMono.toFuture()and then adapting it withCompletableToListenableFutureAdapter.AListenableFuturewhose value can be set viaSettableListenableFuture.set(Object)orSettableListenableFuture.setException(Throwable).Success callback for aListenableFuture.