ttlEvictionScheduler = EntryTaskSchedulerFactory.newScheduler(defaultScheduledExecutor,
new EvictionProcessor(nodeEngine, mapService, name), ScheduleType.POSTPONE);
idleEvictionScheduler = EntryTaskSchedulerFactory.newScheduler(defaultScheduledExecutor,
new EvictionProcessor(nodeEngine, mapService, name), ScheduleType.POSTPONE);
WanReplicationRef wanReplicationRef = mapConfig.getWanReplicationRef();
if (wanReplicationRef != null) {
this.wanReplicationPublisher = nodeEngine.getWanReplicationService().getWanReplicationListener(
wanReplicationRef.getName());
this.wanMergePolicy = mapService.getMergePolicy(wanReplicationRef.getMergePolicy());
} else {
wanMergePolicy = null;
wanReplicationPublisher = null;
}