1125 |
|
|
1126 |
|
/** |
1127 |
|
* Creates a new {@code ThreadPoolExecutor} with the given initial |
1128 |
< |
* parameters, the default thread factory and the default rejected |
1129 |
< |
* execution handler. |
1128 |
> |
* parameters, the |
1129 |
> |
* {@linkplain Executors#defaultThreadFactory default thread factory} |
1130 |
> |
* and the {@linkplain ThreadPoolExecutor.AbortPolicy |
1131 |
> |
* default rejected execution handler}. |
1132 |
|
* |
1133 |
|
* <p>It may be more convenient to use one of the {@link Executors} |
1134 |
|
* factory methods instead of this general purpose constructor. |
1162 |
|
|
1163 |
|
/** |
1164 |
|
* Creates a new {@code ThreadPoolExecutor} with the given initial |
1165 |
< |
* parameters and {@linkplain ThreadPoolExecutor.AbortPolicy |
1165 |
> |
* parameters and the {@linkplain ThreadPoolExecutor.AbortPolicy |
1166 |
|
* default rejected execution handler}. |
1167 |
|
* |
1168 |
|
* @param corePoolSize the number of threads to keep in the pool, even |
1198 |
|
|
1199 |
|
/** |
1200 |
|
* Creates a new {@code ThreadPoolExecutor} with the given initial |
1201 |
< |
* parameters and |
1201 |
> |
* parameters and the |
1202 |
|
* {@linkplain Executors#defaultThreadFactory default thread factory}. |
1203 |
|
* |
1204 |
|
* @param corePoolSize the number of threads to keep in the pool, even |