Page Speed Optimization Libraries
1.3.25.1
|
#include "system_cache_path.h"
Public Member Functions | |
SystemCachePath (const StringPiece &path, const SystemRewriteOptions *config, RewriteDriverFactory *factory, SlowWorker *cache_clean_worker, AbstractSharedMem *shm_runtime) | |
CacheInterface * | lru_cache () |
Per-process in-memory LRU, with any stats/thread safety wrappers, or NULL. | |
CacheInterface * | file_cache () |
Per-machine file cache with any stats wrappers. | |
NamedLockManager * | lock_manager () |
void | RootInit () |
See comments in SystemCaches for calling conventions on these. | |
void | ChildInit () |
void | GlobalCleanup (MessageHandler *handler) |
only called in root process | |
Static Public Attributes | |
static const char | kFileCache [] |
CacheStats prefixes. | |
static const char | kLruCache [] |
The SystemCachePath encapsulates a cache-sharing model where a user specifies a file-cache path per virtual-host. With each file-cache object we keep a locking mechanism and an optional per-process LRUCache.