public CircularBufferPageCache(int pageCapacity) { _partitionIds = new ConcurrentDictionary<string, int>(); _pages = new IndexedCircularBuffer<PartitionPageKey, IPageCacheItem>(pageCapacity); }
public NodeCache(int internalNodeCapacity, int leafNodeCapacity) { _leafNodeCache = new IndexedCircularBuffer <ulong, WeakReference>(leafNodeCapacity); _internalNodeCache = new IndexedCircularBuffer <ulong, IInternalNode>(internalNodeCapacity); }
public CircularBufferPageCache(int pageCapacity) { _partitionIds = new ConcurrentDictionary <string, int>(); _pages = new IndexedCircularBuffer <PartitionPageKey, IPageCacheItem>(pageCapacity); }
public NodeCache(int internalNodeCapacity, int leafNodeCapacity) { _leafNodeCache = new IndexedCircularBuffer<ulong, WeakReference>(leafNodeCapacity); _internalNodeCache = new IndexedCircularBuffer<ulong, IInternalNode>(internalNodeCapacity); }