Class DefaultAsyncExecutorFactory
- java.lang.Object
-
- org.infinispan.client.hotrod.impl.async.DefaultAsyncExecutorFactory
-
- All Implemented Interfaces:
org.infinispan.commons.executors.ExecutorFactory
public class DefaultAsyncExecutorFactory extends Object implements org.infinispan.commons.executors.ExecutorFactory
Default implementation forExecutorFactory
based on anThreadPoolExecutor
.- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
-
-
Field Summary
Fields Modifier and Type Field Description static AtomicInteger
counter
static String
THREAD_NAME
-
Constructor Summary
Constructors Constructor Description DefaultAsyncExecutorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadPoolExecutor
getExecutor(Properties p)
-
-
-
Field Detail
-
THREAD_NAME
public static final String THREAD_NAME
- See Also:
- Constant Field Values
-
counter
public static final AtomicInteger counter
-
-
Method Detail
-
getExecutor
public ThreadPoolExecutor getExecutor(Properties p)
- Specified by:
getExecutor
in interfaceorg.infinispan.commons.executors.ExecutorFactory
-
-