Class NoticeableThreadPoolExecutor

All Implemented Interfaces:
NoticeableExecutorService, Executor, ExecutorService

public class NoticeableThreadPoolExecutor extends BaseNoticeableExecutorService
  • Constructor Details

  • Method Details

    • awaitTermination

      public boolean awaitTermination(long timeout, TimeUnit timeUnit) throws InterruptedException
      Throws:
      InterruptedException
    • execute

      public void execute(Runnable runnable)
    • getActiveCount

      public int getActiveCount()
    • getCompletedTaskCount

      public long getCompletedTaskCount()
    • getCorePoolSize

      public int getCorePoolSize()
    • getLargestPoolSize

      public int getLargestPoolSize()
    • getMaximumPoolSize

      public int getMaximumPoolSize()
    • getPendingTaskCount

      public int getPendingTaskCount()
    • getPoolSize

      public int getPoolSize()
    • isShutdown

      public boolean isShutdown()
    • isTerminated

      public boolean isTerminated()
    • setCorePoolSize

      public void setCorePoolSize(int corePoolSize)
    • setMaximumPoolSize

      public void setMaximumPoolSize(int maximumPoolSize)
    • shutdown

      public void shutdown()
    • shutdownNow

      public List<Runnable> shutdownNow()
    • terminationNoticeableFuture

      public NoticeableFuture<Void> terminationNoticeableFuture()