クラス MonoToListenableFutureAdapter<T>
java.lang.ObjectSE
org.springframework.util.concurrent.CompletableToListenableFutureAdapter<T>
org.springframework.util.concurrent.MonoToListenableFutureAdapter<T>
- 型パラメーター:
T
- オブジェクト型
- 実装されたすべてのインターフェース:
FutureSE<T>
,ListenableFuture<T>
@DeprecatedSE(since="6.0")
public class MonoToListenableFutureAdapter<T>
extends CompletableToListenableFutureAdapter<T>
使用すべきではありません。
Mono.toFuture()
を介して Mono
から CompletableFuture
を取得し、それを CompletableToListenableFutureAdapter
に適合させることにより、Mono
を ListenableFuture
に適合させます。- 導入:
- 5.1
- 作成者:
- Rossen Stoyanchev, Stephane Maldini
コンストラクターのサマリー
メソッドのサマリー
クラス org.springframework.util.concurrent.CompletableToListenableFutureAdapter から継承されたメソッド
addCallback, addCallback, cancel, completable, get, get, isCancelled, isDone
コンストラクターの詳細
MonoToListenableFutureAdapter
使用すべきではありません。
Mono.toFuture()
を推奨