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 | |
RemovalPolicy * | policy |
heap * | theHeap |
heap_key_func * | keyfunc |
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 |
Definition at line 63 of file store_repl_heap.cc.
References RemovalPolicyNode::data, StoreEntry::mem_obj, MemObject::repl, StoreEntry::repl, type, TYPE_STORE_ENTRY, and TYPE_STORE_MEM.
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 |
Definition at line 39 of file store_repl_heap.cc.
Referenced by heap_free(), heap_purgeInit(), heap_walkDone(), and heap_walkInit().
◆ policy
RemovalPolicy* HeapPolicyData::policy |
Definition at line 35 of file store_repl_heap.cc.
Referenced by createRemovalPolicy_heap().
◆ theHeap
heap* HeapPolicyData::theHeap |
Definition at line 36 of file store_repl_heap.cc.
Referenced by createRemovalPolicy_heap(), heap_add(), heap_referenced(), and heap_remove().
◆ 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:
- src/repl/heap/store_repl_heap.cc