Page Speed Optimization Libraries
1.6.29.3
|
#include "property_cache.h"
Public Member Functions | |
Cohort (StringPiece name, CacheInterface *cache) | |
Takes ownership of the cache. | |
const GoogleString & | name () const |
CacheInterface * | cache () const |
A Cohort is a set of properties that update at roughly the same expected frequency. The PropertyCache object keeps track of the known set of Cohorts but does not actually keep any data for them. The data only arrives when we do a lookup. Each cohort uses a different CacheInterface so that we can track cache metrics on a per cohort basis.