Sebastian Meßmer
821550e62f
Unify (and fix) include guards
2015-10-15 13:09:21 +02:00
Sebastian Messmer
2ccdcb5b98
Cache destructs elements in parallel in destructor
2015-10-14 14:40:45 +02:00
Sebastian Messmer
260bc1056a
Make cache MAX_SIZE configurable
2015-10-07 17:24:13 +02:00
Sebastian Messmer
37bdbd907a
Finished migrating to unique_ref instead of unique_ptr
2015-07-21 18:19:34 +02:00
Sebastian Messmer
7c407c4b69
Switched whole blockstore interface to unique_ref instead of unique_ptr
2015-07-21 14:50:52 +02:00
Sebastian Messmer
a945e4f0fc
Changed Blockstore::tryCreate() to return optional<unique_ref<Block>> instead of unique_ptr<Block>
2015-07-20 18:57:48 +02:00
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