Commit graph

308 commits

Author SHA1 Message Date
Julian Ganz
ba0ef701e9 Use strings correctly 2016-01-16 15:11:20 +01:00
Julian Ganz
6bb48f53f4 Add missing inclusion of SingeUseLock type 2016-01-16 15:08:01 +01:00
Julian Ganz
a7d1cdadc0 Add initial version of store interface
The interface enables users to both create and remove entries. It also
features methods for retrieval of both unlocked and lockes entries and a
method for writing back the latter one only.
2016-01-16 07:15:49 +01:00
912c84e663 Make "Store" a trait 2016-01-13 22:03:53 +01:00
d23e2f920d impl Drop for Store 2016-01-13 21:51:40 +01:00
fff41b447a Add store-internal cache 2016-01-13 21:47:23 +01:00
4f8aacfa5a Fixup: Store type: read() should return Arc<RWLock<>>, update() should take that 2016-01-13 11:53:56 +01:00
b1ace253c8 Add Store type for store 2016-01-12 18:52:47 +01:00