Cache Manager API
[Squid Components]

Collaboration diagram for Cache Manager API:

Classes

class  CacheManager

Modules

 Cache Manager intenal API (not for public use)

Functions

void CacheManager::registerAction (char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
void CacheManager::registerAction (CacheManagerAction *anAction)
void CacheManager::Start (int fd, HttpRequest *request, StoreEntry *entry)
static CacheManagerCacheManager::GetInstance ()

Function Documentation

void CacheManager::registerAction ( CacheManagerAction anAction  )  [inherited]

Registers a C++-style action, via a poiner to a subclass of a CacheManagerAction object, whose run() method will be invoked when CacheManager identifies that the user has requested the action.

Definition at line 82 of file cache_manager.cc.

References CacheManagerAction::action, action(), CacheManager::ActionsList, assert, debugs, CacheManager::findAction(), and NULL.

void CacheManager::registerAction ( char const *  action,
char const *  desc,
OBJH handler,
int  pw_req_flag,
int  atomic 
) [inherited]

Registers a C-style action, which is implemented as a pointer to a function taking as argument a pointer to a StoreEntry and returning void. Implemented via CacheManagerActionLegacy.

Definition at line 69 of file cache_manager.cc.

References debugs.

Referenced by asnRegisterWithCacheManager(), CacheManager::CacheManager(), cbdataRegisterWithCacheManager(), neighborsRegisterWithCacheManager(), parseConfigFile(), Mem::RegisterWithCacheManager(), statRegisterWithCacheManager(), storeRegisterWithCacheManager(), and testCacheManager::testRegister().

Search

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors