Пример #1
0
 void ReopenStorage()
 {
     _kvdb.Dispose();
     _kvdb = new KeyValueDB(_fileCollection);
     _cs   = _kvdb.GetSubDB <IChunkStorage>(1);
 }
Пример #2
0
 public void CreateChunkStorageSubDB()
 {
     _fileCollection = new InMemoryFileCollection();
     _kvdb = new KeyValueDB(_fileCollection);
     _cs = _kvdb.GetSubDB<IChunkStorage>(1);
 }
Пример #3
0
 public ChunkStorageTest()
 {
     _fileCollection = new InMemoryFileCollection();
     _kvdb           = new KeyValueDB(_fileCollection);
     _cs             = _kvdb.GetSubDB <IChunkStorage>(1);
 }
Пример #4
0
 void ReopenStorage()
 {
     _kvdb.Dispose();
     _kvdb = new KeyValueDB(_fileCollection);
     _cs = _kvdb.GetSubDB<IChunkStorage>(1);
 }