クラス ReactorResourceFactory
java.lang.ObjectSE
org.springframework.http.client.ReactorResourceFactory
org.springframework.http.client.reactive.ReactorResourceFactory
- 実装されたすべてのインターフェース:
Aware
、DisposableBean
、InitializingBean
、ApplicationContextAware
、Lifecycle
、Phased
、SmartLifecycle
使用すべきではありません。
Spring
ApplicationContext
のライフサイクル内で Reactor Netty リソース(イベントループスレッドの LoopResources
、接続プールの ConnectionProvider
など)を管理するファクトリ。 このファクトリは InitializingBean
、DisposableBean
、Lifecycle
を実装しており、通常は Spring 管理の Bean として宣言されることが期待されます。
Lifecycle
の停止 / 再起動後、構成された LoopResources
および ConnectionProvider
の新しいインスタンスが作成されるため、それらへの参照を更新する必要があることに注意してください。
- 導入:
- 5.1
- 作成者:
- Rossen Stoyanchev, Brian Clozel, Sebastien Deleuze
フィールドサマリー
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターのサマリー
方法の概要
クラス org.springframework.http.client.ReactorResourceFactory から継承されたメソッド
addGlobalResourcesConsumer, afterPropertiesSet, destroy, getConnectionProvider, getLoopResources, getPhase, isRunning, isUseGlobalResources, setApplicationContext, setConnectionProvider, setConnectionProviderSupplier, setLoopResources, setLoopResourcesSupplier, setShutdownQuietPeriod, setShutdownTimeout, setUseGlobalResources, start, stop
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isAutoStartup, stop
コンストラクターの詳細
ReactorResourceFactory
public ReactorResourceFactory()使用すべきではありません。
ReactorResourceFactory
を使用してください。