You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 26, 2025. It is now read-only.
* This channel pool is lazy initialized. It might even not reach its maximum size {@link ChannelPoolOptions#getMaxCacheSize()} in low-concurrency environments.
37
-
* It always tries to obtain channel from the pool. However, in case of high-concurrency environments, number of channels might exceeds channel pool maximum size.
38
-
*
39
-
* Channels are added to the pool after their use {@link ChannelPool#getChannelCloseHandler()} and obtained from the pool when channel is requested {@link ChannelPool#getChannelMono()}.
40
-
*
41
-
* If pool is empty, new channel is created.
42
-
* If channel is no longer needed and the channel pool is full, then channel is being closed.
43
-
* If channel is no longer needed and the channel pool has not reached its capacity, then channel is added to the pool.
44
-
*
36
+
* Default implementation of {@link ChannelPool}.
37
+
* <p>
38
+
* This channel pool is lazy initialized. It might even not reach its maximum size
39
+
* {@link ChannelPoolOptions#getMaxCacheSize()} in low-concurrency environments.
40
+
* It always tries to obtain a channel from the pool. However, in case of high-concurrency environments,
41
+
* number of channels might exceed channel pool maximum size.
42
+
* <p>
43
+
* Channels are added to the pool after their use {@link ChannelPool#getChannelCloseHandler()}
44
+
* and obtained from the pool when channel is requested {@link ChannelPool#getChannelMono()}.
45
+
* <p>
46
+
* If the pool is empty, a new channel is created.
47
+
* If a channel is no longer needed and the channel pool is full, then the channel is being closed.
48
+
* If a channel is no longer needed and the channel pool has not reached its
49
+
* capacity, then the channel is added to the pool.
50
+
* <p>
45
51
* It uses {@link BlockingQueue} internally in a non-blocking way.
46
52
*
53
+
* @since 1.1.0
47
54
*/
48
55
classLazyChannelPoolimplementsChannelPool {
49
56
@@ -70,7 +77,7 @@ public Mono<? extends Channel> getChannelMono() {
0 commit comments