19 #ifndef PAGESPEED_KERNEL_CACHE_COMPRESSED_CACHE_H_
20 #define PAGESPEED_KERNEL_CACHE_COMPRESSED_CACHE_H_
26 #include "pagespeed/kernel/cache/cache_interface.h"
28 namespace net_instaweb {
Abstract interface for a cache.
Definition: cache_interface.h:32
int64 CompressedSize() const
Definition: statistics.h:43
int64 CorruptPayloads() const
virtual void Get(const GoogleString &key, Callback *callback)
Base class for implementations of monitoring statistics.
Definition: statistics.h:342
Compressed cache adapter.
Definition: compressed_cache.h:35
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
int64 OriginalSize() const
virtual void Put(const GoogleString &key, const SharedString &value)
virtual bool IsBlocking() const =0
Definition: shared_string.h:40
virtual bool IsHealthy() const
virtual CacheInterface * Backend()
Definition: compressed_cache.h:48
Definition: cache_interface.h:42
Definition: statistics.h:138
virtual GoogleString Name() const =0
virtual GoogleString Name() const
Definition: compressed_cache.h:46
CompressedCache(CacheInterface *cache, Statistics *stats)
Does not takes ownership of cache or stats.
virtual bool IsBlocking() const
Definition: compressed_cache.h:49