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