use of com.hazelcast.internal.util.scheduler.EntryTaskScheduler in project hazelcast by hazelcast.
the class LockStoreContainer method createScheduler.
private EntryTaskScheduler<Data, Integer> createScheduler(ObjectNamespace namespace) {
NodeEngine nodeEngine = lockService.getNodeEngine();
LockEvictionProcessor entryProcessor = new LockEvictionProcessor(nodeEngine, namespace);
TaskScheduler globalScheduler = nodeEngine.getExecutionService().getGlobalTaskScheduler();
return EntryTaskSchedulerFactory.newScheduler(globalScheduler, entryProcessor, ScheduleType.FOR_EACH);
}
Aggregations