Page Speed Optimization Libraries  1.7.30.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::TwoLevelPropertyStore Class Reference
Inheritance diagram for net_instaweb::TwoLevelPropertyStore:
net_instaweb::PropertyStore

List of all members.

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.

Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines