File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
httpcore5/src/main/java/org/apache/hc/core5/pool Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3838import java .util .concurrent .ConcurrentHashMap ;
3939import java .util .concurrent .ConcurrentLinkedDeque ;
4040import java .util .concurrent .ConcurrentLinkedQueue ;
41+ import java .util .concurrent .Executors ;
4142import java .util .concurrent .Future ;
4243import java .util .concurrent .LinkedBlockingQueue ;
4344import java .util .concurrent .RejectedExecutionException ;
6970 * there is global headroom; it never scans all routes.</p>
7071 *
7172 * @param <R> route key type
72- * @param <C> connection type (must be {@link org.apache.hc.core5.io. ModalCloseable})
73+ * @param <C> connection type (must be {@link ModalCloseable})
7374 * @see ManagedConnPool
7475 * @see PoolReusePolicy
7576 * @see DisposalCallback
@@ -127,7 +128,7 @@ public RouteSegmentedConnPool(
127128 t .setDaemon (true );
128129 return t ;
129130 };
130- this .timeouts = java . util . concurrent . Executors .newSingleThreadScheduledExecutor (tf );
131+ this .timeouts = Executors .newSingleThreadScheduledExecutor (tf );
131132
132133 // Asynchronous disposer for slow GRACEFUL closes.
133134 final int cores = Math .max (2 , Runtime .getRuntime ().availableProcessors ());
You can’t perform that action at this time.
0 commit comments