net_instaweb::ProxyFetchPropertyCallback Class Reference

#include "proxy_fetch.h"

Inheritance diagram for net_instaweb::ProxyFetchPropertyCallback:
net_instaweb::PropertyPage

List of all members.

Public Types

enum  CacheType { kPagePropertyCache, kClientPropertyCache }
 

The cache type associated with this callback.


Public Member Functions

 ProxyFetchPropertyCallback (CacheType cache_type, const StringPiece &key, ProxyFetchPropertyCallbackCollector *collector, AbstractMutex *mutex)
CacheType cache_type () const
virtual void Done (bool success)
 Called as a result of PropertyCache::Read when the data is available.

Detailed Description

Tracks a single property-cache lookup. These lookups are initiated immediately upon handling the request, in parallel with determining domain-specific RewriteOptions and fetching the HTTP headers for the HTML.

Request handling can proceed in parallel with the property-cache lookups, including RewriteOptions lookup and initating the HTTP fetch. However, handling incoming bytes will be blocked waiting for property-cache lookups to complete.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:33:46 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3