781 |
|
* keepAliveTime less than zero, or if maximumPoolSize less than or |
782 |
|
* equal to zero, or if corePoolSize greater than maximumPoolSize. |
783 |
|
* @throws NullPointerException if <tt>workQueue</tt> |
784 |
< |
* or <tt>handler</tt> are null. |
784 |
> |
* or <tt>handler</tt> are null. |
785 |
|
*/ |
786 |
|
public ThreadPoolExecutor(int corePoolSize, |
787 |
|
int maximumPoolSize, |
888 |
|
* shutting down this ExecutorService may manipulate threads that |
889 |
|
* the caller is not permitted to modify because it does not hold |
890 |
|
* {@link java.lang.RuntimePermission}<tt>("modifyThread")</tt>, |
891 |
< |
* or the security manager's <tt>checkAccess</tt> method denies access. |
891 |
> |
* or the security manager's <tt>checkAccess</tt> method denies access. |
892 |
|
*/ |
893 |
|
public void shutdown() { |
894 |
|
// Fail if caller doesn't have modifyThread permission. We |