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