|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2023 the original author or authors. |
|
|
|
* Copyright 2002-2024 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -135,7 +135,7 @@ public class ReactorNetty2ResourceFactory implements InitializingBean, Disposabl |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Use this when you don't want to participate in global resources and |
|
|
|
* Use this when you don't want to participate in global resources and |
|
|
|
* you want to customize the creation of the managed {@code LoopResources}. |
|
|
|
* you want to customize the creation of the managed {@code LoopResources}. |
|
|
|
* <p>By default, {@code LoopResources.create("reactor-http")} is used. |
|
|
|
* <p>By default, {@code LoopResources.create("webflux-http")} is used. |
|
|
|
* <p>Note that this option is ignored if {@code userGlobalResources=false} or |
|
|
|
* <p>Note that this option is ignored if {@code userGlobalResources=false} or |
|
|
|
* {@link #setLoopResources(LoopResources)} is set. |
|
|
|
* {@link #setLoopResources(LoopResources)} is set. |
|
|
|
* @param supplier the supplier to use |
|
|
|
* @param supplier the supplier to use |
|
|
|
@ -170,7 +170,6 @@ public class ReactorNetty2ResourceFactory implements InitializingBean, Disposabl |
|
|
|
* can also be overridden with the system property |
|
|
|
* can also be overridden with the system property |
|
|
|
* {@link reactor.netty5.ReactorNetty#SHUTDOWN_QUIET_PERIOD |
|
|
|
* {@link reactor.netty5.ReactorNetty#SHUTDOWN_QUIET_PERIOD |
|
|
|
* ReactorNetty.SHUTDOWN_QUIET_PERIOD}. |
|
|
|
* ReactorNetty.SHUTDOWN_QUIET_PERIOD}. |
|
|
|
* @since 5.2.4 |
|
|
|
|
|
|
|
* @see #setShutdownTimeout(Duration) |
|
|
|
* @see #setShutdownTimeout(Duration) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void setShutdownQuietPeriod(Duration shutdownQuietPeriod) { |
|
|
|
public void setShutdownQuietPeriod(Duration shutdownQuietPeriod) { |
|
|
|
@ -187,7 +186,6 @@ public class ReactorNetty2ResourceFactory implements InitializingBean, Disposabl |
|
|
|
* can also be overridden with the system property |
|
|
|
* can also be overridden with the system property |
|
|
|
* {@link reactor.netty5.ReactorNetty#SHUTDOWN_TIMEOUT |
|
|
|
* {@link reactor.netty5.ReactorNetty#SHUTDOWN_TIMEOUT |
|
|
|
* ReactorNetty.SHUTDOWN_TIMEOUT}. |
|
|
|
* ReactorNetty.SHUTDOWN_TIMEOUT}. |
|
|
|
* @since 5.2.4 |
|
|
|
|
|
|
|
* @see #setShutdownQuietPeriod(Duration) |
|
|
|
* @see #setShutdownQuietPeriod(Duration) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void setShutdownTimeout(Duration shutdownTimeout) { |
|
|
|
public void setShutdownTimeout(Duration shutdownTimeout) { |
|
|
|
|