Exemple #1
0
 public MapContainer getMapContainer(String mapName) {
   return ConcurrencyUtil.getOrPutSynchronized(
       mapContainers, mapName, mapContainers, mapConstructor);
 }
Exemple #2
0
 public NearCache getNearCache(String mapName) {
   return ConcurrencyUtil.getOrPutIfAbsent(nearCacheMap, mapName, nearCacheConstructor);
 }
Exemple #3
0
 public LocalMapStatsImpl getLocalMapStatsImpl(String name) {
   return ConcurrencyUtil.getOrPutIfAbsent(statsMap, name, localMapStatsConstructorFunction);
 }