694 |
|
// Public methods |
695 |
|
|
696 |
|
/** |
697 |
< |
* Creates a new <tt>ThreadPoolExecutor</tt> with the given |
698 |
< |
* initial parameters and default thread factory and handler. It |
699 |
< |
* may be more convenient to use one of the {@link Executors} |
700 |
< |
* factory methods instead of this general purpose constructor. |
697 |
> |
* Creates a new <tt>ThreadPoolExecutor</tt> with the given initial |
698 |
> |
* parameters and default thread factory and rejected execution handler. |
699 |
> |
* It may be more convenient to use one of the {@link Executors} factory |
700 |
> |
* methods instead of this general purpose constructor. |
701 |
|
* |
702 |
|
* @param corePoolSize the number of threads to keep in the |
703 |
|
* pool, even if they are idle. |
727 |
|
|
728 |
|
/** |
729 |
|
* Creates a new <tt>ThreadPoolExecutor</tt> with the given initial |
730 |
< |
* parameters and default thread factory. |
730 |
> |
* parameters and default rejected execution handler. |
731 |
|
* |
732 |
|
* @param corePoolSize the number of threads to keep in the |
733 |
|
* pool, even if they are idle. |
761 |
|
|
762 |
|
/** |
763 |
|
* Creates a new <tt>ThreadPoolExecutor</tt> with the given initial |
764 |
< |
* parameters and default handler. |
764 |
> |
* parameters and default thread factory. |
765 |
|
* |
766 |
|
* @param corePoolSize the number of threads to keep in the |
767 |
|
* pool, even if they are idle. |