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

Compressed cache adapter. More...

#include "compressed_cache.h"

List of all members.

Public Member Functions

 CompressedCache (CacheInterface *cache, Statistics *stats)
 Does not takes ownership of cache or stats.
virtual void Get (const GoogleString &key, Callback *callback)
virtual void Put (const GoogleString &key, SharedString *value)
virtual void Delete (const GoogleString &key)
virtual GoogleString Name () const
virtual CacheInterface * Backend ()
virtual bool IsBlocking () const
virtual bool IsHealthy () const
virtual void ShutDown ()
int64 CorruptPayloads () const
int64 OriginalSize () const
int64 CompressedSize () const

Static Public Member Functions

static void InitStats (Statistics *stats)
static GoogleString FormatName (StringPiece cache)

Detailed Description

Compressed cache adapter.


Member Function Documentation

Total number of compressed bytes inserted since the cache was started.

Total number of times we did a fetch from the underlying cache and it failed to uncompress due to corruption.

Total number of uncompressed bytes inserted since the cache was started.


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