store_repl_lru.cc
Go to the documentation of this file.
279 storeAppendPrintf(sentry, "LRU reference age: %.2f days\n", (double) (squid_curtime - entry->lastref) / (double) (24 * 60 * 60));
RemovalPolicy * REMOVALPOLICYCREATE(wordlist *args)
Definition: RemovalPolicy.h:80
Definition: store_repl_lru.cc:64
MEMPROXY_CLASS(LruNode)
Definition: RemovalPolicy.h:30
Definition: RemovalPolicy.h:56
Definition: RemovalPolicy.h:39
void(* Referenced)(RemovalPolicy *policy, const StoreEntry *entry, RemovalPolicyNode *node)
Definition: RemovalPolicy.h:48
void(* Add)(RemovalPolicy *policy, StoreEntry *entry, RemovalPolicyNode *node)
Definition: RemovalPolicy.h:46
void(* Stats)(RemovalPolicy *policy, StoreEntry *entry)
Definition: RemovalPolicy.h:52
RemovalPurgeWalker *(* PurgeInit)(RemovalPolicy *policy, int max_scan)
Definition: RemovalPolicy.h:51
void(* Dereferenced)(RemovalPolicy *policy, const StoreEntry *entry, RemovalPolicyNode *node)
Definition: RemovalPolicy.h:49
void(* Remove)(RemovalPolicy *policy, StoreEntry *entry, RemovalPolicyNode *node)
Definition: RemovalPolicy.h:47
RemovalPolicyWalker *(* WalkInit)(RemovalPolicy *policy)
Definition: RemovalPolicy.h:50
Definition: RemovalPolicy.h:67
Definition: Store.h:42
Definition: dlink.h:24
Definition: dlink.h:15
Definition: wordlist.h:20
static void lru_referenced(RemovalPolicy *policy, const StoreEntry *entry, RemovalPolicyNode *node)
Definition: store_repl_lru.cc:119
static void lru_remove(RemovalPolicy *policy, StoreEntry *entry, RemovalPolicyNode *node)
Definition: store_repl_lru.cc:91
static RemovalPurgeWalker * lru_purgeInit(RemovalPolicy *policy, int max_scan)
Definition: store_repl_lru.cc:246
static StoreEntry * lru_purgeNext(RemovalPurgeWalker *walker)
Definition: store_repl_lru.cc:194
static const StoreEntry * lru_walkNext(RemovalPolicyWalker *walker)
Definition: store_repl_lru.cc:142
static enum LruPolicyData::heap_entry_type repl_guessType(StoreEntry *entry, RemovalPolicyNode *node)
Definition: store_repl_lru.cc:32
static RemovalPolicyWalker * lru_walkInit(RemovalPolicy *policy)
Definition: store_repl_lru.cc:168
static void lru_add(RemovalPolicy *policy, StoreEntry *entry, RemovalPolicyNode *node)
Definition: store_repl_lru.cc:77
static void lru_stats(RemovalPolicy *policy, StoreEntry *sentry)
Definition: store_repl_lru.cc:264
Definition: store_repl_lru.cc:17
void setPolicyNode(StoreEntry *, void *) const
Definition: store_repl_lru.cc:46
enum LruPolicyData::heap_entry_type type
Definition: store_repl_lru.cc:188
Definition: store_repl_lru.cc:137
Definition: parse.c:104