类 ReactorEnvironmentPostProcessor
java.lang.Object
org.springframework.boot.reactor.ReactorEnvironmentPostProcessor
- 所有已实现的接口:
EnvironmentPostProcessor
,Ordered
public class ReactorEnvironmentPostProcessor
extends Object
implements EnvironmentPostProcessor, Ordered
EnvironmentPostProcessor
to enable the Reactor global features as early as
possible in the startup process.
If the "reactor-tools" dependency is available, the debug agent is enabled by default,
unless the "spring.reactor.debug-agent.enabled"
configuration property is set
to false.
If the "spring.threads.virtual.enabled"
property is enabled and the current JVM
is 21 or later, then the Reactor System property is set to configure the Bounded
Elastic Scheduler to use Virtual Threads globally.
- 从以下版本开始:
- 3.2.0
- 作者:
- Brian Clozel
-
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
getOrder()
void
postProcessEnvironment
(ConfigurableEnvironment environment, SpringApplication application) Post-process the givenenvironment
.
-
构造器详细资料
-
ReactorEnvironmentPostProcessor
public ReactorEnvironmentPostProcessor()
-
-
方法详细资料
-
postProcessEnvironment
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) 从接口复制的说明:EnvironmentPostProcessor
Post-process the givenenvironment
.- 指定者:
postProcessEnvironment
在接口中EnvironmentPostProcessor
- 参数:
environment
- the environment to post-processapplication
- the application to which the environment belongs
-
getOrder
public int getOrder()
-