Search in sources :

Example 1 with MemberMapMetaDataFetcher

use of com.hazelcast.map.impl.nearcache.invalidation.MemberMapMetaDataFetcher in project hazelcast by hazelcast.

the class MapNearCacheManager method createRepairingInvalidationTask.

private RepairingTask createRepairingInvalidationTask() {
    ExecutionService executionService = nodeEngine.getExecutionService();
    ClusterService clusterService = nodeEngine.getClusterService();
    OperationService operationService = nodeEngine.getOperationService();
    HazelcastProperties properties = nodeEngine.getProperties();
    ILogger logger = nodeEngine.getLogger(RepairingTask.class);
    MetaDataFetcher metaDataFetcher = new MemberMapMetaDataFetcher(clusterService, operationService, logger);
    String localUuid = nodeEngine.getLocalMember().getUuid();
    return new RepairingTask(metaDataFetcher, executionService.getGlobalTaskScheduler(), partitionService, properties, localUuid, logger);
}
Also used : HazelcastProperties(com.hazelcast.spi.properties.HazelcastProperties) MemberMapMetaDataFetcher(com.hazelcast.map.impl.nearcache.invalidation.MemberMapMetaDataFetcher) ClusterService(com.hazelcast.internal.cluster.ClusterService) RepairingTask(com.hazelcast.internal.nearcache.impl.invalidation.RepairingTask) ILogger(com.hazelcast.logging.ILogger) OperationService(com.hazelcast.spi.OperationService) ExecutionService(com.hazelcast.spi.ExecutionService) MetaDataFetcher(com.hazelcast.internal.nearcache.impl.invalidation.MetaDataFetcher) MemberMapMetaDataFetcher(com.hazelcast.map.impl.nearcache.invalidation.MemberMapMetaDataFetcher)

Aggregations

ClusterService (com.hazelcast.internal.cluster.ClusterService)1 MetaDataFetcher (com.hazelcast.internal.nearcache.impl.invalidation.MetaDataFetcher)1 RepairingTask (com.hazelcast.internal.nearcache.impl.invalidation.RepairingTask)1 ILogger (com.hazelcast.logging.ILogger)1 MemberMapMetaDataFetcher (com.hazelcast.map.impl.nearcache.invalidation.MemberMapMetaDataFetcher)1 ExecutionService (com.hazelcast.spi.ExecutionService)1 OperationService (com.hazelcast.spi.OperationService)1 HazelcastProperties (com.hazelcast.spi.properties.HazelcastProperties)1