Squid Web Cache master
Loading...
Searching...
No Matches
HeapPolicyData Struct Reference
Collaboration diagram for HeapPolicyData:
[legend]

Public Types

enum  heap_entry_type { TYPE_UNKNOWN = 0 , TYPE_STORE_ENTRY , TYPE_STORE_MEM }
 

Public Member Functions

void setPolicyNode (StoreEntry *, void *) const
 

Public Attributes

RemovalPolicypolicy
 
heaptheHeap
 
heap_key_funckeyfunc
 
int count
 
int nwalkers
 
enum HeapPolicyData::heap_entry_type type
 

Detailed Description

Definition at line 33 of file store_repl_heap.cc.

Member Enumeration Documentation

◆ heap_entry_type

Enumerator
TYPE_UNKNOWN 
TYPE_STORE_ENTRY 
TYPE_STORE_MEM 

Definition at line 40 of file store_repl_heap.cc.

Member Function Documentation

◆ setPolicyNode()

void HeapPolicyData::setPolicyNode ( StoreEntry entry,
void *  value 
) const

Member Data Documentation

◆ count

int HeapPolicyData::count

Definition at line 38 of file store_repl_heap.cc.

Referenced by heap_add(), heap_free(), and heap_remove().

◆ keyfunc

heap_key_func* HeapPolicyData::keyfunc

Definition at line 37 of file store_repl_heap.cc.

Referenced by createRemovalPolicy_heap().

◆ nwalkers

int HeapPolicyData::nwalkers

◆ policy

RemovalPolicy* HeapPolicyData::policy

Definition at line 35 of file store_repl_heap.cc.

Referenced by createRemovalPolicy_heap().

◆ theHeap

◆ type

enum HeapPolicyData::heap_entry_type HeapPolicyData::type

Referenced by heap_add(), and setPolicyNode().


The documentation for this struct was generated from the following file: