use of com.hazelcast.map.impl.nearcache.MapNearCacheManager in project hazelcast by hazelcast.
the class MetaDataGeneratorTest method getMetaDataGenerator.
protected MetaDataGenerator getMetaDataGenerator(HazelcastInstance member) {
MapService mapService = getNodeEngineImpl(member).getService(SERVICE_NAME);
MapServiceContext mapServiceContext = mapService.getMapServiceContext();
MapNearCacheManager mapNearCacheManager = mapServiceContext.getMapNearCacheManager();
Invalidator invalidator = mapNearCacheManager.getInvalidator();
return invalidator.getMetaDataGenerator();
}
Aggregations