Package org.infinispan.executors
Class DefaultScheduledExecutorFactory
- java.lang.Object
-
- org.infinispan.executors.DefaultScheduledExecutorFactory
-
- All Implemented Interfaces:
ScheduledExecutorFactory
,SecurityAwareScheduledExecutorFactory
public class DefaultScheduledExecutorFactory extends Object implements SecurityAwareScheduledExecutorFactory
Creates scheduled executors using the JDK Executors service- Since:
- 4.0
- Author:
- Manik Surtani, Tristan Tarrant
-
-
Constructor Summary
Constructors Constructor Description DefaultScheduledExecutorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledExecutorService
getScheduledExecutor(Properties p)
ScheduledExecutorService
getScheduledExecutor(Properties p, AccessControlContext context)
-
-
-
Method Detail
-
getScheduledExecutor
public ScheduledExecutorService getScheduledExecutor(Properties p)
- Specified by:
getScheduledExecutor
in interfaceScheduledExecutorFactory
-
getScheduledExecutor
public ScheduledExecutorService getScheduledExecutor(Properties p, AccessControlContext context)
- Specified by:
getScheduledExecutor
in interfaceSecurityAwareScheduledExecutorFactory
-
-