private TcpIpConnectionMonitor getConnectionMonitor(Address endpoint, boolean reset) { TcpIpConnectionMonitor monitor = ConcurrencyUtil.getOrPutIfAbsent(monitors, endpoint, monitorConstructor); if (reset) { monitor.reset(); } return monitor; }
ICacheRecordStore getOrCreateCache(String name) { return ConcurrencyUtil.getOrPutIfAbsent(caches, name, cacheConstructorFunction); }
public LocalMultiMapStatsImpl getLocalMultiMapStatsImpl(String name) { return ConcurrencyUtil.getOrPutIfAbsent(statsMap, name, localMultiMapStatsConstructorFunction); }
ClientEndpoint getEndpoint(Connection conn) { return ConcurrencyUtil.getOrPutIfAbsent(endpoints, conn, endpointConstructor); }
public LockResourceImpl getLock(Data key) { return ConcurrencyUtil.getOrPutIfAbsent(locks, key, lockConstructor); }
public CacheContext getOrCreateCacheContext(String name) { return ConcurrencyUtil.getOrPutIfAbsent(cacheContexts, name, cacheContexesConstructorFunction); }
@Override public CacheStatisticsImpl createCacheStatIfAbsent(String name) { return ConcurrencyUtil.getOrPutIfAbsent(statistics, name, cacheStatisticsConstructorFunction); }
public NearCache getNearCache(String mapName) { return ConcurrencyUtil.getOrPutIfAbsent(nearCacheMap, mapName, nearCacheConstructor); }
public MapContainer getMapContainer(String mapName) { return ConcurrencyUtil.getOrPutSynchronized( mapContainers, mapName, mapContainers, mapConstructor); }