Package org.infinispan.commons.executors
Interface ThreadPoolExecutorFactory<T extends java.util.concurrent.ExecutorService>
-
- All Known Implementing Classes:
BlockingThreadPoolExecutorFactory
,CachedThreadPoolExecutorFactory
,ScheduledThreadPoolExecutorFactory
public interface ThreadPoolExecutorFactory<T extends java.util.concurrent.ExecutorService>
- Author:
- Galder ZamarreƱo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
createExecutor(java.util.concurrent.ThreadFactory factory)
default boolean
createsNonBlockingThreads()
void
validate()
Validate parameters for the thread pool executor factory
-
-
-
Method Detail
-
createExecutor
T createExecutor(java.util.concurrent.ThreadFactory factory)
-
validate
void validate()
Validate parameters for the thread pool executor factory
-
createsNonBlockingThreads
default boolean createsNonBlockingThreads()
-
-