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
18e7d68f15
Added test cases checking that numBlocks() works correctly when a created block is not destructed yet
2015-04-17 13:27:17 +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
72f952b57c
Added dummy implementation for new caching block store
2015-04-15 15:46:35 +02:00
Sebastian Messmer
cc30dcde10
Fix FakeBlockStore
2015-04-15 14:51:41 +02:00
Sebastian Messmer
711283a89b
EncryptedBlockStore handles encryption keys
2015-04-09 20:14:12 +02:00
Sebastian Messmer
990ca6ca26
Generalized Key to FixedSizeData
2015-04-09 20:07:03 +02:00
Sebastian Messmer
86f8ca6dc4
Dummy implementation for EncryptedBlockStore
2015-04-09 19:22:09 +02:00
Sebastian Meßmer
da0efd80c5
Rename SynchronizedBlockStore -> CachingBlockStore
2015-04-02 02:59:43 -04:00
Sebastian Meßmer
5571a42980
Continued working on SynchronizedBlockStore. remove() doesn't work yet.
2015-03-28 13:44:22 -04:00
Sebastian Meßmer
f6669c86c1
Added SynchronizedBlockStore. In this first version, it only synchronizes the direct blockstore functions, but still allows opening the same block twice. This will be forbidden in future commits
2015-03-19 11:16:20 +01:00
Sebastian Meßmer
6d61b896af
Remove test that is dependent on gcc optimization level
2015-03-15 09:26:50 +01:00
Sebastian Messmer
294530c662
Replaced absolute paths to messmer/blockstore/... with relative local paths
2015-03-12 14:27:51 +01:00
Sebastian Messmer
b13b9d8689
Added test cases for BlockStore::write()
2015-03-08 02:15:31 +01:00
Sebastian Messmer
ffd9ada260
Test BlockStoreUtils fillWithZeroes()
2015-03-08 00:36:59 +01:00
Sebastian Messmer
044f6c9f8a
TODOs
2015-03-06 02:28:41 +01:00
Sebastian Messmer
471ce89421
Removed duplicate test case
2015-03-05 22:40:29 +01:00
Sebastian Messmer
d42bda0ca6
Added Block::write() and removed writeable data() pointer
2015-03-04 20:47:02 +01:00
Sebastian Messmer
09b648317f
DataBlockFixture create data that is independent from its size
2015-03-04 02:58:52 +01:00
Sebastian Messmer
19e14146f4
Be more explicit in test case
2015-02-24 17:37:39 +01:00
Sebastian Messmer
1006c2cc38
Test cases for BlockStore::numBlocks()
2015-02-24 14:42:26 +01:00
Sebastian Messmer
f491d3d183
Added BlockStore::numBlocks()
2015-02-23 21:07:07 +01:00
Sebastian Messmer
aeec8b1490
Add utility function to copy blocks
2015-02-22 19:29:30 +01:00
Sebastian Messmer
e65ce5f11f
Change way of deleting blocks to be more foolproof (when deleting a block, the user is forced to give up its reference to the block)
2015-02-22 16:53:49 +01:00
Sebastian Messmer
37e8a511f5
Added BlockStore::remove(key)
2015-02-22 00:29:21 +01:00
Sebastian Messmer
0c851fa452
Switch to biicode
2015-02-17 00:23:33 +01:00