Commit Graph

9 Commits

Author SHA1 Message Date
Victor Woeltjen
d8e1f69b37 [Persistence] Rewrite failure handling
Rewrite the overwrite behavior (for Overwrite/Cancel of rejected
persisted attempts) to utilize simpler API. WTD-1033.
2015-03-20 15:28:15 -07:00
Victor Woeltjen
1174f746f7 [Persistence] Handle overwrite/cancel
Handle Overwrite/Cancel more correctly when revision conflicts
are detected. WTD-1033.
2015-03-20 14:52:25 -07:00
Victor Woeltjen
717b9b1b92 [Persistence] Add refresh
Continue adding behavior for persistence failures; add a refresh method
to the persistence capability to support this. WTD-1033.
2015-03-20 12:40:58 -07:00
Victor Woeltjen
3cb0f3fa7f [Tests] Add tests for persistence cache
Add test cases for persistence cache to improve overall
test coverage, WTD-672.
2015-02-12 16:34:19 -08:00
Victor Woeltjen
301d46e60b [Persistence] Add test case
Add test case for cache to ensure the same object
instance is given for multiple read calls, as this addresses
WTD-791.
2015-02-03 15:51:11 -08:00
Victor Woeltjen
014fca0494 [Persistence] Reuse instances in cache
Reuse/update a single object instance in the persistence
cache, such that updates can be trivially reflected
everywhere. WTD-791.
2015-02-03 15:47:11 -08:00
Victor Woeltjen
2a11204ee6 [Persistence] Don't clone in cache
Don't clone objects in the persistence cache; instead,
ensure that one instance per object is used/given
wherever possible. Goal is to keep object state in
sync between visible instances for WTD-791 et al.
2015-02-03 15:47:02 -08:00
Victor Woeltjen
d109c7d8bc [Persistence] Separate out cache
Move cache sources into their own bundle, for reuse with other
persistence adapters; specifically supports the persistence
adapter to the WARP Server, which is non-Couch but which will
want to use this cache. WTD-702.
2015-01-20 12:58:55 -08:00
Victor Woeltjen
960a7fcb7c [Persistence] Update README files
Update README files to document the reorganization of persistence
sources into separate bundles for the Couch adapter and for the
persistence cache, in support of reusing the latter with a
different persistence adapter, WTD-702.
2015-01-20 12:14:54 -08:00