クラス 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>
使用すべきではありません。
6.0 現在、Mono.toFuture() を推奨
Mono.toFuture() を介して Mono から CompletableFuture を取得し、それを CompletableToListenableFutureAdapter に適合させることにより、Mono を ListenableFuture に適合させます。
導入:
5.1
作成者:
Rossen Stoyanchev, Stephane Maldini
  • コンストラクターの詳細

    • MonoToListenableFutureAdapter

      public MonoToListenableFutureAdapter(reactor.core.publisher.Mono<T> mono)
      使用すべきではありません。