internal package
Foswiki::Contrib::DBCacheContrib::Archivist internal package
Foswiki::Contrib::DBCacheContrib::Archivist NOTE: this is a pure virtual base class, and cannot be instantiated on its own.
ObjectMethod
newArray() → $array ObjectMethod
newArray() → $array ObjectMethod
sync() Sync data changes to disc. Some archivist implementations may cache data changes in memory. A call to this method ensures that the DB on disc is synchronised with that memory representation.
ObjectMethod
getRoot() → $map ObjectMethod
clear() Completely clear down the DB; removes all data and creates a new root. Intended primarily for use in testing.
ObjectMethod
isModified() Checks whether the cache needs to be reloaded from disk in case it changed by some other process.
ObjectMethod
updateCacheTime() sets the timestamp of the cache being modified