804 |
|
|
805 |
|
/** |
806 |
|
* Returns the maximum number of threads allowed to exist in the |
807 |
< |
* pool. Unless set using {@link #setMaximumPoolSize}, the |
807 |
> |
* pool. Unless set using {@link #setMaximumPoolSize}, the |
808 |
|
* maximum is an implementation-defined value designed only to |
809 |
|
* prevent runaway growth. |
810 |
|
* |
816 |
|
|
817 |
|
/** |
818 |
|
* Sets the maximum number of threads allowed to exist in the |
819 |
< |
* pool. Setting this value has no effect on current pool |
820 |
< |
* size. It controls construction of new threads. |
819 |
> |
* pool. The given value should normally be greater than or equal |
820 |
> |
* to the {@link #getParallelism parallelism} level. Setting this |
821 |
> |
* value has no effect on current pool size. It controls |
822 |
> |
* construction of new threads. |
823 |
|
* |
824 |
|
* @throws IllegalArgumentException if negative or greater than |
825 |
|
* internal implementation limit |