Package org.apache.tika.concurrent
Interface ConfigurableThreadPoolExecutor
- All Superinterfaces:
Executor
,ExecutorService
- All Known Implementing Classes:
SimpleThreadPoolExecutor
Allows Thread Pool to be Configurable.
- Since:
- Apache Tika 1.11
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCorePoolSize
(int threads) void
setMaximumPoolSize
(int threads) Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
Method Details
-
setMaximumPoolSize
void setMaximumPoolSize(int threads) -
setCorePoolSize
void setCorePoolSize(int threads)
-