Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Messmer
1ff807e09c Make Cache a generic over Key/Value. Furthermore, add test skeleton for Cache 2015-04-27 22:46:57 +02:00
Sebastian Messmer
2110831374 Make constructors explicit where adequate 2015-04-27 18:20:51 +02:00
Sebastian Messmer
59bfddc18f Moved Data, FixedSizeData and DataBlockFixture to cpp-utils 2015-04-25 02:48:41 +02:00
Sebastian Messmer
03597b9474 Code formatting & TODOs 2015-04-24 13:42:37 +02:00
Sebastian Meßmer
417a701636 - BlockStore::create() gets the data of the new block as a parameter
- Fixed numBlocks() in OnDiskBlockStore, FakeBlockStore, CachingBlockStore, ...
- CachingBlockStore caches created blocks and doesn't directly create them in the underlying blockstore
2015-04-18 14:47:12 +02:00
Sebastian Messmer
9fa6b041eb Renamed old Caching2BlockStore to new CachingBlockStore 2015-04-16 14:10:44 +02:00
Sebastian Messmer
248fd0f5cc Renamed old CachingBlockStore to ParallelAccessBlockStore 2015-04-16 13:59:52 +02:00
Sebastian Messmer
6413123838 TODOs 2015-04-15 21:46:15 +02:00
Sebastian Messmer
4d72087e27 Fix include guard 2015-04-09 19:21:59 +02:00
Sebastian Meßmer
ff35d72e34 Use new CachingStore 2015-04-02 12:19:05 -04:00
Sebastian Meßmer
f2129f6dc2 We don't need CachingStore::getKey() 2015-04-02 07:21:52 -04:00
Sebastian Meßmer
c18c028d7f First version of factoring out CachingStore 2015-04-02 07:12:29 -04:00
Sebastian Meßmer
da0efd80c5 Rename SynchronizedBlockStore -> CachingBlockStore 2015-04-02 02:59:43 -04:00