public ExclusiveItemStore(IItemFactory <TItem, TBorrowerId> factory, int timeout, int maxCacheSize) : base(factory, timeout) { this.borrowersDictionary = new DictionaryCache <TBorrowerId, ExclusiveItemStore <TItem, TBorrowerId> .BorrowerAccount>(0x7fffffff); base.RegisterCache(this.borrowersDictionary); this.borrowerAccountMaxCacheSize = maxCacheSize; }
public SharedItemStore(IItemFactory <TItem, TBorrowerId> factory, int timeout, int cacheSize) : base(factory, timeout) { this.cache = new DictionaryCache <string, TItem>(cacheSize); base.RegisterCache(this.cache); }