store_digest.cc
Go to the documentation of this file.
113 debugs(71, DBG_IMPORTANT, "WARNING: Cache Digest cannot store " << cap << " entries. Limiting to " << absolute_max);
116 debugs(71, 3, "WARNING: Cache Digest cannot store " << cap << " entries. Limiting to " << absolute_max);
180 debugs(71, 6, "storeDigestDel: lost entry, key: " << entry->getMD5Text() << " url: " << entry->url() );
265 debugs(71, 6, "storeDigestAdd: entry expires within " << Config.digest.rebuild_period << " secs, ignoring");
311 debugs(71, DBG_IMPORTANT, "storeDigestRebuildStart: overlap detected, consider increasing rebuild period");
393 debugs(71, 3, "storeDigestRebuildStep: buckets: " << store_hash_buckets << " entries to check: " << count);
413 debugs(71, DBG_IMPORTANT, "storeDigestRewrite: overlap detected, consider increasing rewrite period");
471 eventAdd("storeDigestSwapOutStep", storeDigestSwapOutStep, sd_state.rewrite_lock, 0.0, 1, false);
void cacheDigestReport(CacheDigest *cd, const SBuf &label, StoreEntry *e)
Definition: CacheDigest.cc:245
Definition: CacheDigest.h:21
void updateCapacity(uint64_t newCapacity)
changes mask size to fit newCapacity, resets bits to 0
Definition: CacheDigest.cc:86
Definition: HttpReply.h:25
void setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires)
Definition: HttpReply.cc:170
static HttpRequest * FromUrlXXX(const char *url, const MasterXaction::Pointer &, const HttpRequestMethod &method=Http::METHOD_GET)
Definition: HttpRequest.cc:528
Definition: RequestFlags.h:23
struct SquidConfig::@106 onoff
struct SquidConfig::@104 Store
struct SquidConfig::@113 digest
Definition: PeerDigest.h:27
Definition: store_digest.cc:44
StoreEntry * publicEntry
points to the previous store entry with the digest
Definition: store_digest.cc:49
Definition: store_digest.cc:57
Definition: Store.h:42
void replaceHttpReply(const HttpReplyPointer &, const bool andStartWriting=true)
Definition: store.cc:1691
void append(char const *, int) override
Appends a c-string to existing packed data.
Definition: store.cc:789
bool setPublicKey(const KeyScope keyScope=ksDefault)
Definition: store.cc:561
virtual void next(void(callback)(void *cbdata), void *cbdata)=0
virtual StoreEntry * currentItem()=0
virtual bool isDone() const =0
void eventAdd(const char *name, EVH *func, void *arg, double when, int weight, bool cbdata)
Definition: event.cc:107
int store_hash_buckets
int CacheDigestHashFuncCount
const char * StoreDigestFileName
CacheDigest * store_digest
char * internalLocalUri(const char *dir, const SBuf &name)
Definition: internal.cc:140
void RegisterAction(char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
Definition: Registration.cc:16
int refreshCheckDigest(const StoreEntry *entry, time_t delta)
Definition: refresh.cc:611
StoreEntry * storeCreateEntry(const char *url, const char *logUrl, const RequestFlags &flags, const HttpRequestMethod &method)
Definition: store.cc:745
static void storeDigestRebuildStart(void *datanotused)
Definition: store_digest.cc:305
static void storeDigestCBlockSwapOut(StoreEntry *e)
Definition: store_digest.cc:524
static void storeDigestRewriteFinish(StoreEntry *e)
Definition: store_digest.cc:476
static void storeDigestRebuildStep(void *datanotused)
Definition: store_digest.cc:386