public RepositoryCache() { cacheMap = new ConcurrentHashMap <RepositoryCache.Key, Reference <Repository> >(); openLocks = new RepositoryCache.Lock[4]; for (int i = 0; i < openLocks.Length; i++) { openLocks[i] = new RepositoryCache.Lock(); } }
public RepositoryCache() { cacheMap = new ConcurrentHashMap<RepositoryCache.Key, Reference<Repository>>(); openLocks = new RepositoryCache.Lock[4]; for (int i = 0; i < openLocks.Length; i++) { openLocks[i] = new RepositoryCache.Lock(); } }