Page Speed Optimization Libraries
1.4.26.1
|
#include <map>
#include "net/instaweb/util/public/basictypes.h"
#include "net/instaweb/util/public/cache_interface.h"
#include "net/instaweb/util/public/queued_worker_pool.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.
Classes | |
class | net_instaweb::DelayCache |
See file comment. More... | |
Namespaces | |
namespace | net_instaweb |
for StringPiece |
Contains DelayCache, which wraps a cache, but lets a test delay responses for specific cache-keys. The callbacks are awakened by an explicit ReleaseKey API.
By default, all cache lookups are transmitted immediately to the callback.
Note: MockTimeCache also supports delayed callbacks, but they are all delayed by a fixed time.