internal InternalCache() { collectionInfoByName = new AsyncCache <string, CosmosContainerSettings>(new CollectionRidComparer()); collectionInfoById = new AsyncCache <string, CosmosContainerSettings>(new CollectionRidComparer()); collectionInfoByNameLastRefreshTime = new ConcurrentDictionary <string, DateTime>(); collectionInfoByIdLastRefreshTime = new ConcurrentDictionary <string, DateTime>(); }
protected CollectionCache() { this.collectionInfoByNameCache = new AsyncCache <string, CosmosContainerSettings>(new CollectionRidComparer()); this.collectionInfoByIdCache = new AsyncCache <string, CosmosContainerSettings>(new CollectionRidComparer()); }