store_digest.cc File Reference
#include "squid.h"
#include "debug/Stream.h"
#include "event.h"
#include "globals.h"
#include "mgr/Registration.h"
#include "store_digest.h"
#include "CacheDigest.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "internal.h"
#include "MemObject.h"
#include "PeerDigest.h"
#include "refresh.h"
#include "SquidConfig.h"
#include "Store.h"
#include "StoreSearch.h"
#include "util.h"
#include <cmath>
Include dependency graph for store_digest.cc:

Go to the source code of this file.

Classes

class  StoreDigestState
 
class  StoreDigestStats
 

Functions

static void storeDigestRebuildStart (void *datanotused)
 
static void storeDigestRebuildResume (void)
 
static void storeDigestRebuildFinish (void)
 
static void storeDigestRebuildStep (void *datanotused)
 
static void storeDigestRewriteStart (void *)
 
static void storeDigestRewriteResume (void)
 
static void storeDigestRewriteFinish (StoreEntry *e)
 
static void storeDigestCBlockSwapOut (StoreEntry *e)
 
static void storeDigestAdd (const StoreEntry *)
 
static uint64_t storeDigestCalcCap ()
 calculates digest capacity More...
 
void storeDigestInit (void)
 
void storeDigestNoteStoreReady (void)
 
void storeDigestDel (const StoreEntry *entry)
 
void storeDigestReport (StoreEntry *e)
 
static int storeDigestAddable (const StoreEntry *e)
 
static bool storeDigestResize ()
 
static void storeDigestSwapOutStep (void *data)
 

Variables

static StoreDigestState sd_state
 
static StoreDigestStats sd_stats
 
static EVH storeDigestSwapOutStep
 

Function Documentation

◆ storeDigestAdd()

◆ storeDigestAddable()

◆ storeDigestCalcCap()

◆ storeDigestCBlockSwapOut()

◆ storeDigestDel()

◆ storeDigestInit()

◆ storeDigestNoteStoreReady()

void storeDigestNoteStoreReady ( void  )

◆ storeDigestRebuildFinish()

◆ storeDigestRebuildResume()

◆ storeDigestRebuildStart()

◆ storeDigestRebuildStep()

◆ storeDigestReport()

◆ storeDigestResize()

static bool storeDigestResize ( )
static
Returns
true if we actually resized the digest

Definition at line 328 of file store_digest.cc.

References assert, CacheDigest::capacity, debugs, store_digest, storeDigestCalcCap(), CacheDigest::updateCapacity(), and xpercentInt().

Referenced by storeDigestRebuildResume().

◆ storeDigestRewriteFinish()

◆ storeDigestRewriteResume()

◆ storeDigestRewriteStart()

◆ storeDigestSwapOutStep()

Variable Documentation

◆ sd_state

◆ sd_stats

StoreDigestStats sd_stats
static

◆ storeDigestSwapOutStep

EVH storeDigestSwapOutStep
static

Definition at line 79 of file store_digest.cc.

Referenced by storeDigestRewriteResume(), and storeDigestSwapOutStep().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors