Beispiel #1
0
 public BlockStore(IKeyValueStore cache, int blockSize)
 {
     _groupOps = new BlockGroup_operations(cache, blockSize);
     _headOps = new BlockGroupHead_operations(cache);
     _blockSize = blockSize;
 }
 public void Setup()
 {
     var cache = new FilesystemCache(CACHE_NAME);
     cache.Clear();
     _sut = new BlockGroup_operations(cache, 3);
 }