Package org.infinispan.executors
Class DefaultExecutorFactory
- java.lang.Object
-
- org.infinispan.executors.DefaultExecutorFactory
-
- All Implemented Interfaces:
ExecutorFactory
,SecurityAwareExecutorFactory
public class DefaultExecutorFactory extends Object implements SecurityAwareExecutorFactory
Default executor factory that creates executors using the JDK Executors service.- Since:
- 4.0
- Author:
- Manik Surtani, Tristan Tarrant
-
-
Constructor Summary
Constructors Constructor Description DefaultExecutorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorService
getExecutor(Properties p)
ExecutorService
getExecutor(Properties p, AccessControlContext context)
-
-
-
Method Detail
-
getExecutor
public ExecutorService getExecutor(Properties p)
- Specified by:
getExecutor
in interfaceExecutorFactory
-
getExecutor
public ExecutorService getExecutor(Properties p, AccessControlContext context)
- Specified by:
getExecutor
in interfaceSecurityAwareExecutorFactory
-
-