public class ExecutorServiceProducer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
FS_WATCH_LIMIT_PROPERTY |
protected static String |
INDEXING_LIMIT_PROPERTY |
protected static String |
MANAGED_LIMIT_PROPERTY |
protected static String |
UNMANAGED_LIMIT_PROPERTY |
| Constructor and Description |
|---|
ExecutorServiceProducer() |
| Modifier and Type | Method and Description |
|---|---|
protected ExecutorService |
buildFixedThreadPoolExecutorService(String key) |
protected ExecutorService |
buildFixedThreadPoolExecutorService(String key,
int defaultLimit) |
protected ExecutorService |
getFsWatchExecutorService() |
protected ExecutorService |
getIndexingExecutorService() |
protected ExecutorService |
getManagedExecutorService() |
protected ExecutorService |
getUnmanagedExecutorService() |
ExecutorService |
produceExecutorService() |
ExecutorService |
produceFsWatchExecutorService() |
ExecutorService |
produceIndexingExecutorService() |
ExecutorService |
produceUnmanagedExecutorService() |
protected static final String MANAGED_LIMIT_PROPERTY
protected static final String UNMANAGED_LIMIT_PROPERTY
protected static final String INDEXING_LIMIT_PROPERTY
protected static final String FS_WATCH_LIMIT_PROPERTY
protected ExecutorService buildFixedThreadPoolExecutorService(String key)
protected ExecutorService buildFixedThreadPoolExecutorService(String key, int defaultLimit)
@Produces @ApplicationScoped @Managed public ExecutorService produceExecutorService()
@Produces @ApplicationScoped @Unmanaged public ExecutorService produceUnmanagedExecutorService()
@Produces @ApplicationScoped @Indexing public ExecutorService produceIndexingExecutorService()
@Produces @ApplicationScoped @FSWatch public ExecutorService produceFsWatchExecutorService()
protected ExecutorService getManagedExecutorService()
protected ExecutorService getUnmanagedExecutorService()
protected ExecutorService getIndexingExecutorService()
protected ExecutorService getFsWatchExecutorService()
Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.