Module java.base
Package java.util.concurrent

# Class ThreadPoolExecutor

=
public class ThreadPoolExecutor
extends java.util.concurrent.AbstractExecutorService

## Nested Types

- = AbortPolicy
- = CallerRunsPolicy
- = DiscardOldestPolicy
- = DiscardPolicy

## Constructors

- =
  public ThreadPoolExecutor(int arg0, int arg1, long arg2, java.util.concurrent.TimeUnit arg3, java.util.concurrent.BlockingQueue<java.lang.Runnable> arg4)
- =
  public ThreadPoolExecutor(int arg0, int arg1, long arg2, java.util.concurrent.TimeUnit arg3, java.util.concurrent.BlockingQueue<java.lang.Runnable> arg4, java.util.concurrent.RejectedExecutionHandler arg5)
- =
  public ThreadPoolExecutor(int arg0, int arg1, long arg2, java.util.concurrent.TimeUnit arg3, java.util.concurrent.BlockingQueue<java.lang.Runnable> arg4, java.util.concurrent.ThreadFactory arg5)
- =
  public ThreadPoolExecutor(int arg0, int arg1, long arg2, java.util.concurrent.TimeUnit arg3, java.util.concurrent.BlockingQueue<java.lang.Runnable> arg4, java.util.concurrent.ThreadFactory arg5, java.util.concurrent.RejectedExecutionHandler arg6)

## Methods

- =
  protected void afterExecute(java.lang.Runnable arg0, java.lang.Throwable arg1)
- =
  public void allowCoreThreadTimeOut(boolean arg0)
- =
  public boolean allowsCoreThreadTimeOut()
- =
  public boolean awaitTermination(long arg0, java.util.concurrent.TimeUnit arg1) throws java.lang.InterruptedException
- =
  protected void beforeExecute(java.lang.Thread arg0, java.lang.Runnable arg1)
- =
  public void execute(java.lang.Runnable arg0)
- =
  public int getActiveCount()
- =
  public long getCompletedTaskCount()
- =
  public int getCorePoolSize()
- =
  public long getKeepAliveTime(java.util.concurrent.TimeUnit arg0)
- =
  public int getLargestPoolSize()
- =
  public int getMaximumPoolSize()
- =
  public int getPoolSize()
- =
  public java.util.concurrent.BlockingQueue<java.lang.Runnable> getQueue()
- =
  public java.util.concurrent.RejectedExecutionHandler getRejectedExecutionHandler()
- =
  public long getTaskCount()
- =
  public java.util.concurrent.ThreadFactory getThreadFactory()
- =
  public boolean isShutdown()
- =
  public boolean isTerminated()
- =
  public boolean isTerminating()
- =
  public int prestartAllCoreThreads()
- =
  public boolean prestartCoreThread()
- =
  public void purge()
- =
  public boolean remove(java.lang.Runnable arg0)
- =
  public void setCorePoolSize(int arg0)
- =
  public void setKeepAliveTime(long arg0, java.util.concurrent.TimeUnit arg1)
- =
  public void setMaximumPoolSize(int arg0)
- =
  public void setRejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler arg0)
- =
  public void setThreadFactory(java.util.concurrent.ThreadFactory arg0)
- =
  public void shutdown()
- =
  public java.util.List<java.lang.Runnable> shutdownNow()
- =
  protected void terminated()
- =
  public java.lang.String toString()

## Summary

No differences.