Fix Javadoc in ReactorNetty2ResourceFactory

See gh-33338
Closes gh-33735
This commit is contained in:
Johnny Lim 2024-10-18 00:08:40 +09:00 committed by Sébastien Deleuze
parent 5e28a25a30
commit 73fd9133e9
1 changed files with 6 additions and 4 deletions

View File

@ -107,8 +107,9 @@ 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 ConnectionProvider}. * you want to customize the creation of the managed {@code ConnectionProvider}.
* <p>By default, {@code ConnectionProvider.elastic("http")} is used. * <p>By default, {@code ConnectionProvider.elastic("http")} is used.
* <p>Note that this option is ignored if {@code userGlobalResources=false} or * <p>Note that this supplier is ignored if {@link #isUseGlobalResources()}
* {@link #setConnectionProvider(ConnectionProvider)} is set. * is {@code true} or once the {@link #setConnectionProvider(ConnectionProvider) ConnectionProvider}
* is set.
* @param supplier the supplier to use * @param supplier the supplier to use
*/ */
public void setConnectionProviderSupplier(Supplier<ConnectionProvider> supplier) { public void setConnectionProviderSupplier(Supplier<ConnectionProvider> supplier) {
@ -136,8 +137,9 @@ 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("webflux-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 supplier is ignored if {@link #isUseGlobalResources()}
* {@link #setLoopResources(LoopResources)} is set. * is {@code true} or once the {@link #setLoopResources(LoopResources) LoopResources}
* is set.
* @param supplier the supplier to use * @param supplier the supplier to use
*/ */
public void setLoopResourcesSupplier(Supplier<LoopResources> supplier) { public void setLoopResourcesSupplier(Supplier<LoopResources> supplier) {