Interface KSBThreadPool

All Superinterfaces:
AutoCloseable, Executor, ExecutorService, Lifecycle
All Known Implementing Classes:
KSBThreadPoolImpl

public interface KSBThreadPool extends ExecutorService, Lifecycle
A thread pool which can be used to schedule asynchronous tasks.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Method Details

    • remove

      boolean remove(Runnable task)
    • getActiveCount

      int getActiveCount()
    • setCorePoolSize

      void setCorePoolSize(int corePoolSize)
    • getCorePoolSize

      int getCorePoolSize()
    • getMaximumPoolSize

      int getMaximumPoolSize()
    • setMaximumPoolSize

      void setMaximumPoolSize(int maxPoolSize)
    • getPoolSize

      int getPoolSize()
    • getLargestPoolSize

      int getLargestPoolSize()
    • getKeepAliveTime

      long getKeepAliveTime()
    • getTaskCount

      long getTaskCount()
    • getCompletedTaskCount

      long getCompletedTaskCount()
    • getQueue

      BlockingQueue getQueue()
    • getInstance

      Object getInstance()