store_repl_heap.cc
Go to the documentation of this file.
309 debugs(81, DBG_CRITICAL, "ERROR: createRemovalPolicy_heap: Unknown key type \"" << keytype << "\". Using LRU");
RemovalPolicy * REMOVALPOLICYCREATE(wordlist *args)
Definition: RemovalPolicy.h:80
Definition: store_repl_heap.cc:186
std::queue< StoreEntry * > locked_entries
Definition: store_repl_heap.cc:188
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
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: wordlist.h:20
SQUIDCEXTERN heap_t heap_update(heap *, heap_node *elm, heap_t dat)
Definition: heap.c:228
heap_key HeapKeyGen_StoreEntry_LRU(void *entry, double heap_age)
Definition: store_heap_replacement.cc:119
heap_key HeapKeyGen_StoreEntry_LFUDA(void *entry, double heap_age)
Definition: store_heap_replacement.cc:48
heap_key HeapKeyGen_StoreEntry_GDSF(void *entry, double heap_age)
Definition: store_heap_replacement.cc:93
static void heap_purgeDone(RemovalPurgeWalker *walker)
Definition: store_repl_heap.cc:224
static RemovalPolicyWalker * heap_walkInit(RemovalPolicy *policy)
Definition: store_repl_heap.cc:167
static const StoreEntry * heap_walkNext(RemovalPolicyWalker *walker)
Definition: store_repl_heap.cc:139
static void heap_referenced(RemovalPolicy *policy, const StoreEntry *entry, RemovalPolicyNode *node)
Definition: store_repl_heap.cc:118
static enum HeapPolicyData::heap_entry_type heap_guessType(StoreEntry *entry, RemovalPolicyNode *node)
Definition: store_repl_heap.cc:49
static RemovalPurgeWalker * heap_purgeInit(RemovalPolicy *policy, int max_scan)
Definition: store_repl_heap.cc:252
static void heap_add(RemovalPolicy *policy, StoreEntry *entry, RemovalPolicyNode *node)
Definition: store_repl_heap.cc:81
static void heap_remove(RemovalPolicy *policy, StoreEntry *, RemovalPolicyNode *node)
Definition: store_repl_heap.cc:101
static void heap_walkDone(RemovalPolicyWalker *walker)
Definition: store_repl_heap.cc:155
REMOVALPOLICYCREATE createRemovalPolicy_heap
Definition: store_repl_heap.cc:29
static StoreEntry * heap_purgeNext(RemovalPurgeWalker *walker)
Definition: store_repl_heap.cc:193
Definition: store_repl_heap.cc:33
enum HeapPolicyData::heap_entry_type type
void setPolicyNode(StoreEntry *, void *) const
Definition: store_repl_heap.cc:63
Definition: store_repl_heap.cc:134
Definition: heap.h:41
Definition: parse.c:104