#include <DelayPools.h>

Collaboration diagram for DelayPools:

Static Public Member Functions

static void Init ()
 
static void Update (void *)
 
static unsigned short pools ()
 
static void pools (unsigned short pools)
 
static void FreePools ()
 
static unsigned char * DelayClasses ()
 
static void registerForUpdates (Updateable *)
 
static void deregisterForUpdates (Updateable *)
 

Static Public Attributes

static DelayPooldelay_data = NULL
 

Static Private Member Functions

static void Stats (StoreEntry *)
 
static void InitDelayData ()
 
static void FreeDelayData ()
 
static void RegisterWithCacheManager (void)
 

Static Private Attributes

static time_t LastUpdate = 0
 
static unsigned short pools_
 
static std::vector< Updateable * > toUpdate
 

Detailed Description

Definition at line 34 of file DelayPools.h.

Member Function Documentation

static unsigned char* DelayPools::DelayClasses ( )
static
void DelayPools::FreeDelayData ( )
staticprivate

Definition at line 477 of file delay_pools.cc.

References delay_data, eventDelete(), NULL, and Update().

void DelayPools::FreePools ( )
static

Definition at line 555 of file delay_pools.cc.

References pools().

Referenced by DelayConfig::freePoolCount(), and SquidShutdown().

void DelayPools::Init ( )
static

Definition at line 459 of file delay_pools.cc.

References getCurrentTime().

Referenced by mainInitialize().

void DelayPools::InitDelayData ( )
staticprivate

Definition at line 466 of file delay_pools.cc.

References eventAdd(), NULL, and Update().

void DelayPools::pools ( unsigned short  pools)
static

Definition at line 570 of file delay_pools.cc.

References DBG_CRITICAL, and debugs.

void DelayPools::registerForUpdates ( Updateable anObject)
static
void DelayPools::RegisterWithCacheManager ( void  )
staticprivate

Definition at line 453 of file delay_pools.cc.

References Mgr::RegisterAction(), and Mem::Stats().

void DelayPools::Stats ( StoreEntry sentry)
staticprivate
void DelayPools::Update ( void *  unused)
static

Definition at line 485 of file delay_pools.cc.

References eventAdd(), NULL, and squid_curtime.

Referenced by FreeDelayData(), and InitDelayData().

Member Data Documentation

time_t DelayPools::LastUpdate = 0
staticprivate

Definition at line 51 of file DelayPools.h.

unsigned short DelayPools::pools_
staticprivate

Definition at line 52 of file DelayPools.h.

std::vector< Updateable * > DelayPools::toUpdate
staticprivate

Definition at line 54 of file DelayPools.h.


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors