Cache Manager API.
Classes | |
class | Action |
class | ActionCreator |
class | ActionParams |
Cache Manager Action parameters extracted from the user request. More... | |
class | ActionPasswordList |
list of cachemgr password authorization definitions. Currently a POD. More... | |
class | ActionProfile |
hard-coded Cache Manager action configuration, including Action creator More... | |
class | ActionWriter |
class | Command |
combined hard-coded action profile with user-supplied action parameters More... | |
class | CountersAction |
implement aggregated 'counters' action More... | |
class | CountersActionData |
store traffic and resource counters More... | |
class | Filler |
provides Coordinator with a local cache manager response More... | |
class | Forwarder |
class | FunAction |
class | FunActionCreator |
creates FunAction using ActionCreator API More... | |
class | IndexAction |
class | InfoAction |
implement aggregated 'info' action More... | |
class | InfoActionData |
class | Inquirer |
class | IntervalAction |
implement aggregated interval actions More... | |
class | IntervalActionData |
class | IntParam |
class | IoAction |
implement aggregated 'io' action More... | |
class | IoActionData |
store size histograms of network read() from peer server More... | |
class | MenuAction |
returns available Cache Manager actions and their access requirements More... | |
class | OfflineToggleAction |
changes offline mode More... | |
class | QueryParam |
class | QueryParams |
class | ReconfigureAction |
reconfigures Squid More... | |
class | Request |
cache manager request More... | |
class | Response |
class | RotateAction |
starts log rotation More... | |
class | ServiceTimesAction |
implement aggregated 'service_times' action More... | |
class | ServiceTimesActionData |
store service times for 5 and 60 min More... | |
class | ShutdownAction |
shuts Squid down More... | |
class | StoreIoAction |
implement aggregated 'store_io' action More... | |
class | StoreIoActionData |
Store IO interface data. More... | |
class | StoreToCommWriter |
class | StringParam |
Typedefs | |
typedef RefCount< Action > | ActionPointer |
typedef RefCount< ActionProfile > | ActionProfilePointer |
typedef RefCount< ActionCreator > | ActionCreatorPointer |
typedef RefCount< Command > | CommandPointer |
typedef ActionPointer() | ClassActionCreationHandler(const CommandPointer &cmd) |
Functions | |
std::ostream & | operator<< (std::ostream &os, const ActionProfile &profile) |
void | RegisterBasics () |
Registers profiles for the actions above; TODO: move elsewhere? More... | |
std::ostream & | operator<< (std::ostream &, const Command &) |
void | RegisterAction (char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic) |
void | RegisterAction (char const *action, char const *desc, ClassActionCreationHandler *handler, int pw_req_flag, int atomic) |
Typedef Documentation
◆ ActionCreatorPointer
◆ ActionPointer
typedef RefCount<Action> Mgr::ActionPointer |
◆ ActionProfilePointer
◆ ClassActionCreationHandler
typedef ActionPointer() Mgr::ClassActionCreationHandler(const CommandPointer &cmd) |
◆ CommandPointer
typedef RefCount<Command> Mgr::CommandPointer |
Function Documentation
◆ operator<<() [1/2]
std::ostream & Mgr::operator<< | ( | std::ostream & | os, |
const Command & | cmd | ||
) |
Definition at line 15 of file Command.cc.
References Mgr::Command::profile.
◆ operator<<() [2/2]
|
inline |
Definition at line 41 of file ActionProfile.h.
References Mgr::ActionProfile::name.
◆ RegisterAction() [1/2]
void Mgr::RegisterAction | ( | char const * | action, |
char const * | desc, | ||
Mgr::ClassActionCreationHandler * | handler, | ||
int | pw_req_flag, | ||
int | atomic | ||
) |
Definition at line 25 of file Registration.cc.
References action(), CacheManager::GetInstance(), handler(), and CacheManager::registerProfile().
◆ RegisterAction() [2/2]
void Mgr::RegisterAction | ( | char const * | action, |
char const * | desc, | ||
OBJH * | handler, | ||
int | pw_req_flag, | ||
int | atomic | ||
) |
Definition at line 16 of file Registration.cc.
References action(), CacheManager::GetInstance(), handler(), and CacheManager::registerProfile().
Referenced by Ssl::GlobalContextStorage::GlobalContextStorage(), asnRegisterWithCacheManager(), carpRegisterWithCacheManager(), commDevPollRegisterWithCacheManager(), commEPollRegisterWithCacheManager(), commPollRegisterWithCacheManager(), eventInit(), externalAclRegisterWithCacheManager(), fqdncacheRegisterWithCacheManager(), httpHeaderRegisterWithCacheManager(), Mem::Init(), Dns::Init(), ipcacheRegisterWithCacheManager(), neighborsRegisterWithCacheManager(), netdbInit(), parseConfigFileOrThrow(), peerSourceHashRegisterWithCacheManager(), peerUserHashRegisterWithCacheManager(), redirectInit(), refreshRegisterWithCacheManager(), RegisterBasics(), AsyncJob::RegisterWithCacheManager(), DelayPools::RegisterWithCacheManager(), DiskDaemonDiskIOModule::registerWithCacheManager(), DiskThreadsIOStrategy::registerWithCacheManager(), FwdState::RegisterWithCacheManager(), PconnModule::registerWithCacheManager(), SBufStatsAction::RegisterWithCacheManager(), statRegisterWithCacheManager(), storeDigestInit(), storeLogRegisterWithCacheManager(), storeRegisterWithCacheManager(), and ClientDbRr::useConfig().
◆ RegisterBasics()
void Mgr::RegisterBasics | ( | ) |
Definition at line 150 of file BasicActions.cc.
References Mgr::IndexAction::Create(), Mgr::MenuAction::Create(), Mgr::ShutdownAction::Create(), Mgr::ReconfigureAction::Create(), Mgr::RotateAction::Create(), Mgr::OfflineToggleAction::Create(), and RegisterAction().
Referenced by CacheManager::GetInstance().