Page Speed Optimization Libraries  1.7.30.2
Namespaces | Enumerations | Functions
net/instaweb/rewriter/public/property_cache_util.h File Reference
#include "net/instaweb/rewriter/public/rewrite_driver.h"
#include "net/instaweb/rewriter/public/server_context.h"
#include "net/instaweb/util/public/basictypes.h"
#include "net/instaweb/util/public/property_cache.h"
#include "net/instaweb/util/public/proto_util.h"
#include "net/instaweb/util/public/scoped_ptr.h"
#include "net/instaweb/util/public/string.h"
#include "net/instaweb/util/public/string_util.h"

Go to the source code of this file.

Namespaces

namespace  net_instaweb
 

Unit-test framework for wget fetcher.


Enumerations

enum  net_instaweb::PropertyCacheDecodeResult { net_instaweb::kPropertyCacheDecodeNotFound, kPropertyCacheDecodeExpired, kPropertyCacheDecodeParseError, kPropertyCacheDecodeOk }
enum  net_instaweb::PropertyCacheUpdateResult { net_instaweb::kPropertyCacheUpdateNotFound, kPropertyCacheUpdateEncodeError, kPropertyCacheUpdateOk }

Functions

const PropertyValue * net_instaweb::DecodeFromPropertyCacheHelper (const PropertyCache *cache, AbstractPropertyPage *page, const PropertyCache::Cohort *cohort, StringPiece property_name, int64 cache_ttl_ms, PropertyCacheDecodeResult *status)
template<typename T >
T * net_instaweb::DecodeFromPropertyCache (const PropertyCache *cache, AbstractPropertyPage *page, const PropertyCache::Cohort *cohort, StringPiece property_name, int64 cache_ttl_ms, PropertyCacheDecodeResult *status)
template<typename T >
T * net_instaweb::DecodeFromPropertyCache (RewriteDriver *driver, const PropertyCache::Cohort *cohort, StringPiece property_name, int64 cache_ttl_ms, PropertyCacheDecodeResult *status)
PropertyCacheUpdateResult net_instaweb::UpdateInPropertyCache (const protobuf::MessageLite &value, const PropertyCache::Cohort *cohort, StringPiece property_name, bool write_cohort, AbstractPropertyPage *page)
PropertyCacheUpdateResult net_instaweb::UpdateInPropertyCache (const protobuf::MessageLite &value, RewriteDriver *driver, const PropertyCache::Cohort *cohort, StringPiece property_name, bool write_cohort)

Detailed Description

This contains some utilities that make it easier to work with the property cache.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines