|
| 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 GoogleString | Name () const |
|
bool | enable_get_cancellation () |
|
void | set_enable_get_cancellation (bool x) |
|
|
typedef Callback1< bool > | BoolCallback |
|
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.
virtual GoogleString net_instaweb::TwoLevelPropertyStore::Name |
( |
| ) |
const |
|
virtual |
The name of this PropertyStore – used for logging and debugging.
It is strongly recommended that you provide a static GoogleString FormatName(...) method for use in formatting the Name() return, and in testing, e.g. in net/instaweb/system/system_caches_test.cc.
Implements net_instaweb::PropertyStore.
The documentation for this class was generated from the following file: