#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 = nullptr
 

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

◆ DelayClasses()

static unsigned char * DelayPools::DelayClasses ( )
static

◆ deregisterForUpdates()

◆ FreeDelayData()

void DelayPools::FreeDelayData ( )
staticprivate

Definition at line 476 of file delay_pools.cc.

References delay_data.

◆ FreePools()

void DelayPools::FreePools ( )
static

Definition at line 555 of file delay_pools.cc.

References pools().

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

◆ Init()

void DelayPools::Init ( )
static

Definition at line 458 of file delay_pools.cc.

References getCurrentTime().

Referenced by mainInitialize().

◆ InitDelayData()

void DelayPools::InitDelayData ( )
staticprivate

Definition at line 465 of file delay_pools.cc.

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

◆ pools() [1/2]

◆ pools() [2/2]

void DelayPools::pools ( unsigned short  pools)
static

Definition at line 570 of file delay_pools.cc.

References DBG_CRITICAL, and debugs.

◆ registerForUpdates()

void DelayPools::registerForUpdates ( Updateable anObject)
static

◆ RegisterWithCacheManager()

void DelayPools::RegisterWithCacheManager ( void  )
staticprivate

Definition at line 452 of file delay_pools.cc.

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

◆ Stats()

void DelayPools::Stats ( StoreEntry sentry)
staticprivate

◆ Update()

void DelayPools::Update ( void *  )
static

Definition at line 483 of file delay_pools.cc.

References eventAdd(), and squid_curtime.

Referenced by InitDelayData().

Member Data Documentation

◆ delay_data

◆ LastUpdate

time_t DelayPools::LastUpdate = 0
staticprivate

Definition at line 51 of file DelayPools.h.

◆ pools_

unsigned short DelayPools::pools_
staticprivate

Definition at line 52 of file DelayPools.h.

◆ toUpdate

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