Page Speed Optimization Libraries  1.12.34.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
net_instaweb::HTTPCache::FindResult Struct Reference

When a lookup is done in the HTTP Cache, it returns one of these values. More...

#include "http_cache.h"

Public Member Functions

 FindResult (FindResultClassification in_status, FetchResponseStatus in_failure_details)
 
bool operator== (const FindResult &other) const
 
bool operator!= (const FindResult &other) const
 

Public Attributes

FindResultClassification status
 
FetchResponseStatus failure_details
 

Detailed Description

When a lookup is done in the HTTP Cache, it returns one of these values.

Member Data Documentation

FetchResponseStatus net_instaweb::HTTPCache::FindResult::failure_details

This should be kFetchStatusNotSet if status is kNotFound. This should be OK if status is kFound. This should be one of the other values of FetchResponseStatus if status is kRecentFailure, describing exactly the kind of failure that got remembered.


The documentation for this struct was generated from the following file: