Package com.lucidworks.apollo.component
Interface ExecutorComponent
- All Known Implementing Classes:
DefaultExecutorComponent
public interface ExecutorComponent
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListeningExecutorServicegetOrCreateCachedThreadPool(String threadNameFormat) com.google.common.util.concurrent.ListeningExecutorServicegetOrCreateFixedThreadPool(int nThreads, String threadNameFormat) com.google.common.util.concurrent.ListeningExecutorServicegetOrCreateSingleThreadExecutor(String threadPoolName, String threadNameFormat) com.google.common.util.concurrent.ListeningExecutorServicenewCachedThreadPool(String threadNameFormat) com.google.common.util.concurrent.ListeningExecutorServicenewFixedThreadPool(int nThreads, String threadNameFormat) com.google.common.util.concurrent.ListeningExecutorServicenewSingleThreadExecutor(String threadNameFormat)
-
Method Details
-
getOrCreateSingleThreadExecutor
-
getOrCreateFixedThreadPool
com.google.common.util.concurrent.ListeningExecutorService getOrCreateFixedThreadPool(int nThreads, String threadNameFormat) -
newSingleThreadExecutor
com.google.common.util.concurrent.ListeningExecutorService newSingleThreadExecutor(String threadNameFormat) -
newFixedThreadPool
com.google.common.util.concurrent.ListeningExecutorService newFixedThreadPool(int nThreads, String threadNameFormat) -
newCachedThreadPool
com.google.common.util.concurrent.ListeningExecutorService newCachedThreadPool(String threadNameFormat) -
getOrCreateCachedThreadPool
com.google.common.util.concurrent.ListeningExecutorService getOrCreateCachedThreadPool(String threadNameFormat)
-