Page Speed Optimization Libraries
1.7.30.2
|
Public Member Functions | |
TwoLevelPropertyStore (PropertyStore *primary_property_store, PropertyStore *secondary_propery_store, ThreadSystem *thread_system) | |
virtual void | Get (const GoogleString &url, const GoogleString &options_signature_hash, const GoogleString &cache_key_suffix, const PropertyCache::CohortVector &cohort_list, PropertyPage *page, BoolCallback *done, AbstractPropertyStoreGetCallback **callback) |
virtual void | Put (const GoogleString &url, const GoogleString &options_signature_hash, const GoogleString &cache_key_suffix, const PropertyCache::Cohort *cohort, const PropertyCacheValues *values, BoolCallback *done) |
Write to both the storage system for the given key. |
virtual void net_instaweb::TwoLevelPropertyStore::Get | ( | const GoogleString & | url, |
const GoogleString & | options_signature_hash, | ||
const GoogleString & | cache_key_suffix, | ||
const PropertyCache::CohortVector & | cohort_list, | ||
PropertyPage * | page, | ||
BoolCallback * | done, | ||
AbstractPropertyStoreGetCallback ** | callback | ||
) | [virtual] |
It issues a lookup on the primary_property_store and lookup on secondary_property_store will only be issued if properties are not available in primary_property_store and lookup is not yet cancelled.
Implements net_instaweb::PropertyStore.