Interface ConfigurableThreadPoolExecutor

  • All Superinterfaces:
    java.util.concurrent.Executor, java.util.concurrent.ExecutorService
    All Known Implementing Classes:
    SimpleThreadPoolExecutor

    public interface ConfigurableThreadPoolExecutor
    extends java.util.concurrent.ExecutorService
    Allows Thread Pool to be Configurable.
    Since:
    Apache Tika 1.11
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setCorePoolSize​(int threads)  
      void setMaximumPoolSize​(int threads)  
      • Methods inherited from interface java.util.concurrent.Executor

        execute
      • Methods inherited from interface java.util.concurrent.ExecutorService

        awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
    • Method Detail

      • setMaximumPoolSize

        void setMaximumPoolSize​(int threads)
      • setCorePoolSize

        void setCorePoolSize​(int threads)