Package org.infinispan.executors
Class DefaultExecutorFactory
- java.lang.Object
-
- org.infinispan.executors.DefaultExecutorFactory
-
- All Implemented Interfaces:
org.infinispan.commons.executors.ExecutorFactory
,org.infinispan.commons.executors.SecurityAwareExecutorFactory
public class DefaultExecutorFactory extends Object implements org.infinispan.commons.executors.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 interfaceorg.infinispan.commons.executors.ExecutorFactory
-
getExecutor
public ExecutorService getExecutor(Properties p, AccessControlContext context)
- Specified by:
getExecutor
in interfaceorg.infinispan.commons.executors.SecurityAwareExecutorFactory
-
-