org.infinispan.client.hotrod.impl.async
Class DefaultAsyncExecutorFactory
java.lang.Object
org.infinispan.client.hotrod.impl.async.DefaultAsyncExecutorFactory
- All Implemented Interfaces:
- ExecutorFactory
public class DefaultAsyncExecutorFactory
- extends Object
- implements ExecutorFactory
Default implementation for ExecutorFactory
based on an ThreadPoolExecutor
.
Accepts following configuration parameters:
- - default-executor-factory.poolSize = the fixed size fo the pool
- - default-executor-factory.queueSize = The size of the
LinkedBlockingQueue
backing up the executor
- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THREAD_NAME
public static final String THREAD_NAME
- See Also:
- Constant Field Values
counter
public static final AtomicInteger counter
DefaultAsyncExecutorFactory
public DefaultAsyncExecutorFactory()
getExecutor
public ExecutorService getExecutor(Properties p)
- Specified by:
getExecutor
in interface ExecutorFactory
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.