public class ExecutorServiceProducer extends Object
Modifier and Type | Field and Description |
---|---|
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 |
getIndexingExecutorService() |
protected ExecutorService |
getManagedExecutorService() |
protected ExecutorService |
getUnmanagedExecutorService() |
ExecutorService |
produceExecutorService() |
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 ExecutorService buildFixedThreadPoolExecutorService(String key)
@Produces @ApplicationScoped @Managed public ExecutorService produceExecutorService()
@Produces @ApplicationScoped @Unmanaged public ExecutorService produceUnmanagedExecutorService()
@Produces @ApplicationScoped @Indexing public ExecutorService produceIndexingExecutorService()
protected ExecutorService getManagedExecutorService()
protected ExecutorService getUnmanagedExecutorService()
protected ExecutorService getIndexingExecutorService()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.