[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.
This commit is contained in:
Victor Woeltjen 2015-01-20 12:58:55 -08:00
parent 960a7fcb7c
commit d109c7d8bc
5 changed files with 18 additions and 2 deletions

14
platform/persistence/cache/bundle.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
"name": "Persistence cache",
"description": "Cache to improve availability of persisted objects.",
"extensions": {
"components": [
{
"provides": "persistenceService",
"type": "decorator",
"implementation": "CachingPersistenceDecorator.js",
"depends": [ "PERSISTENCE_SPACE" ]
}
]
}
}

View File

@ -0,0 +1,3 @@
[
"CachingPersistenceDecorator"
]

View File

@ -1,6 +1,5 @@
[ [
"CachingPersistenceDecorator",
"CouchDocument", "CouchDocument",
"CouchIndicator", "CouchIndicator",
"CouchPersistenceProvider" "CouchPersistenceProvider"
] ]