CredentialsCache.cc
Auth::User::Pointer lookup(const SBuf &userKey) const
Definition: CredentialsCache.cc:65
bool gcScheduled_
whether a cleanup (garbage collection) event has been scheduled
Definition: CredentialsCache.h:67
~CredentialCacheRr() override
Definition: CredentialsCache.cc:29
void insert(const SBuf &userKey, const Auth::User::Pointer &anAuth_user)
add an user to the cache with the provided key
Definition: CredentialsCache.cc:105
Definition: CredentialsCache.cc:21
Definition: AsyncJob.h:17
CBDATA_CLASS_INIT(CredentialsCache)
struct timeval current_time
the current UNIX time in timeval {seconds, microseconds} format
Definition: gadgets.cc:18
Definition: RunnersRegistry.h:37
CbcPointer< CredentialsCache > whichCache
reference to the scheme cache which is being managed
Definition: CredentialsCache.cc:51
const char *const cacheCleanupEventName
Definition: CredentialsCache.h:74
CredentialsCache(const char *name, const char *const eventName)
Definition: CredentialsCache.cc:56
std::vector< Auth::User::Pointer > sortedUsersList() const
Definition: CredentialsCache.cc:115
Cache of Auth::User credentials, keyed by Auth::User::userKey.
Definition: CredentialsCache.h:21
CredentialCacheRr(const char *n, CredentialsCache *const c)
Definition: CredentialsCache.cc:24
bool RegisterRunner(RegisteredRunner *rr)
registers a given runner with the given registry and returns true on success
Definition: RunnersRegistry.cc:49
void doConfigChangeCleanup()
Definition: CredentialsCache.cc:140
void eventAdd(const char *name, EVH *func, void *arg, double when, int weight, bool cbdata)
Definition: event.cc:107
void endingShutdown() override
Definition: CredentialsCache.cc:36
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products