Page Speed Optimization Libraries  1.6.29.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::DelegatingCacheCallback Class Reference

#include "delegating_cache_callback.h"

List of all members.

Public Member Functions

 DelegatingCacheCallback (CacheInterface::Callback *callback)
virtual bool ValidateCandidate (const GoogleString &key, CacheInterface::KeyState state)
virtual void Done (CacheInterface::KeyState state)

Detailed Description

Helper class for implementing Caches that wrap other caches, adding functionality in callbacks.


Member Function Documentation

virtual bool net_instaweb::DelegatingCacheCallback::ValidateCandidate ( const GoogleString &  key,
CacheInterface::KeyState  state 
) [virtual]

Note that we have to forward validity faithfully here, as if we're wrapping a 2-level cache it will need to know accurately if the value is valid or not.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines