Page Speed Optimization Libraries  1.9.32.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::ProxyFetchPropertyCallback Class Reference

#include "proxy_fetch.h"

Inheritance diagram for net_instaweb::ProxyFetchPropertyCallback:

Public Member Functions

 ProxyFetchPropertyCallback (PageType page_type, PropertyCache *property_cache, const StringPiece &url, const StringPiece &options_signature_hash, UserAgentMatcher::DeviceType device_type, ProxyFetchPropertyCallbackCollector *collector, AbstractMutex *mutex)
 
PageType page_type () const
 
virtual bool IsCacheValid (int64 write_timestamp_ms) const
 Delegates to collector_'s IsCacheValid.
 
virtual void Done (bool success)
 

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: