#include "squid.h"
#include "base/Random.h"
#include "event.h"
#include "mgr/Registration.h"
#include "Store.h"
#include "tools.h"
#include <cmath>
![](event_8cc__incl.png)
Go to the source code of this file.
Classes | |
class | EventDialer |
Functions | |
void | eventAdd (const char *name, EVH *func, void *arg, double when, int weight, bool cbdata) |
void | eventAddIsh (const char *name, EVH *func, void *arg, double delta_ish, int weight) |
void | eventDelete (EVH *func, void *arg) |
void | eventInit (void) |
static void | eventDump (StoreEntry *sentry) |
int | eventFind (EVH *func, void *arg) |
Variables | |
static OBJH | eventDump |
static const char * | last_event_ran = nullptr |
Function Documentation
◆ eventAdd()
Definition at line 107 of file event.cc.
Referenced by authenticateDigestNonceCacheCleanup(), authenticateDigestNonceSetup(), Rock::Rebuild::checkpoint(), Mem::CleanIdlePools(), clientdbAdd(), clientdbGC(), commPlanHalfClosedCheck(), Log::TcpLogger::connectDone(), TunnelStateData::copyRead(), IpcIoFile::DiskerHandleRequests(), SignalEngine::doShutdown(), eventAddIsh(), SignalEngine::FinalShutdownRunners(), fqdncache_purgelru(), idnsTickleQueue(), Fs::Ufs::UFSSwapDir::init(), DelayPools::InitDelayData(), Ipc::Inquirer::inquire(), ipcache_purgelru(), ClientInfo::kickQuotaQueue(), logfile_mod_daemon_open(), logfileFlushEvent(), mainInitialize(), mainReconfigureStart(), Store::Maintain(), IpcIoFile::open(), peerClearRRLoop(), peerCountMcastPeersCreateAndSend(), peerCountMcastPeersSchedule(), peerDigestSetCheck(), Fs::Ufs::UFSSwapDir::rebuild(), Comm::ConnOpener::retrySleep(), Auth::CredentialsCache::scheduleCleanup(), IpcIoFile::scheduleTimeoutCheck(), Adaptation::Icap::ServiceRep::scheduleUpdate(), Ipc::Forwarder::start(), HappyOrderEnforcer::startedWaiting(), Ipc::UdsSender::startSleep(), PeerSelectorPingMonitor::startWaiting(), statAvgTick(), statInit(), statObjects(), statObjectsStart(), storeCleanup(), storeDigestRebuildFinish(), storeDigestRebuildResume(), storeDigestRebuildStep(), storeDigestRewriteFinish(), storeDigestRewriteResume(), storeDigestSwapOutStep(), storeInit(), storeLateRelease(), storeRebuildComplete(), DelayPools::Update(), IpcIoFile::WaitBeforePop(), wccp2HandleUdp(), wccp2HereIam(), wccp2Init(), wccpHereIam(), and wccpInit().
◆ eventAddIsh()
Definition at line 114 of file event.cc.
References eventAdd(), and RandomSeed32().
Referenced by netdbInit(), netdbSaveState(), peerDNSConfigure(), and peerScheduleDnsRefreshCheck().
◆ eventDelete()
void eventDelete | ( | EVH * | func, |
void * | arg | ||
) |
Definition at line 127 of file event.cc.
Referenced by PeerSelectorPingMonitor::abortWaiting(), logfile_mod_daemon_close(), peerScheduleDnsRefreshCheck(), Ipc::Forwarder::removeTimeoutEvent(), Ipc::Inquirer::removeTimeoutEvent(), Adaptation::Icap::ServiceRep::scheduleUpdate(), wccp2ConnectionClose(), wccp2HandleUdp(), TunnelStateData::Connection::~Connection(), and PeerDigest::~PeerDigest().
◆ eventDump()
|
static |
Definition at line 139 of file event.cc.
References EventScheduler::dump(), and EventScheduler::GetInstance().
◆ eventFind()
Definition at line 145 of file event.cc.
References EventScheduler::find(), and EventScheduler::GetInstance().
Referenced by peerScheduleDnsRefreshCheck(), Ipc::Forwarder::removeTimeoutEvent(), Ipc::Inquirer::removeTimeoutEvent(), Adaptation::Icap::ServiceRep::scheduleUpdate(), wccp2Init(), wccpHereIam(), wccpInit(), and PeerDigest::~PeerDigest().
◆ eventInit()
void eventInit | ( | void | ) |
Definition at line 133 of file event.cc.
References eventDump, and Mgr::RegisterAction().
Referenced by mainInitialize().
Variable Documentation
◆ eventDump
|
static |
Definition at line 22 of file event.cc.
Referenced by eventInit().
◆ last_event_ran
|
static |
Definition at line 23 of file event.cc.
Referenced by EventScheduler::checkEvents(), and EventScheduler::dump().
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