public interface ExecutorComponent
Modifier and Type | Method and Description |
---|---|
ListeningExecutorService |
getOrCreateCachedThreadPool(java.lang.String threadNameFormat) |
ListeningExecutorService |
getOrCreateFixedThreadPool(int nThreads,
java.lang.String threadNameFormat) |
ListeningExecutorService |
getOrCreateSingleThreadExecutor(java.lang.String threadPoolName,
java.lang.String threadNameFormat) |
ListeningExecutorService |
newCachedThreadPool(java.lang.String threadNameFormat) |
ListeningExecutorService |
newFixedThreadPool(int nThreads,
java.lang.String threadNameFormat) |
ListeningExecutorService |
newSingleThreadExecutor(java.lang.String threadNameFormat) |
ListeningExecutorService getOrCreateSingleThreadExecutor(java.lang.String threadPoolName, java.lang.String threadNameFormat)
ListeningExecutorService getOrCreateFixedThreadPool(int nThreads, java.lang.String threadNameFormat)
ListeningExecutorService newSingleThreadExecutor(java.lang.String threadNameFormat)
ListeningExecutorService newFixedThreadPool(int nThreads, java.lang.String threadNameFormat)
ListeningExecutorService newCachedThreadPool(java.lang.String threadNameFormat)
ListeningExecutorService getOrCreateCachedThreadPool(java.lang.String threadNameFormat)