store_digest.cc File Reference
#include "squid.h"
#include "Debug.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 "SquidTime.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
 
struct  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

void storeDigestNoteStoreReady ( void  )
static void storeDigestRebuildStart ( void *  datanotused)
static
static bool storeDigestResize ( )
static
Returns
true if we actually resized the digest

Definition at line 323 of file store_digest.cc.

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

Referenced by storeDigestRebuildResume().

Variable Documentation

StoreDigestState sd_state
static

Definition at line 67 of file store_digest.cc.

StoreDigestStats sd_stats
static

Definition at line 68 of file store_digest.cc.

EVH storeDigestSwapOutStep
static

Definition at line 78 of file store_digest.cc.

Referenced by storeDigestRewriteResume(), and storeDigestSwapOutStep().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors