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 |
dlink_list | list |
int | count |
int | nwalkers |
enum LruPolicyData::heap_entry_type | type |
Detailed Description
Definition at line 17 of file store_repl_lru.cc.
Member Enumeration Documentation
◆ heap_entry_type
Enumerator | |
---|---|
TYPE_UNKNOWN | |
TYPE_STORE_ENTRY | |
TYPE_STORE_MEM |
Definition at line 23 of file store_repl_lru.cc.
Member Function Documentation
◆ setPolicyNode()
void LruPolicyData::setPolicyNode | ( | StoreEntry * | entry, |
void * | value | ||
) | const |
Definition at line 46 of file store_repl_lru.cc.
References RemovalPolicyNode::data, StoreEntry::mem_obj, MemObject::repl, StoreEntry::repl, type, TYPE_STORE_ENTRY, and TYPE_STORE_MEM.
Member Data Documentation
◆ count
int LruPolicyData::count |
Definition at line 21 of file store_repl_lru.cc.
Referenced by lru_add(), lru_free(), and lru_remove().
◆ list
dlink_list LruPolicyData::list |
Definition at line 20 of file store_repl_lru.cc.
Referenced by lru_add(), lru_purgeInit(), lru_referenced(), lru_remove(), lru_stats(), and lru_walkInit().
◆ nwalkers
int LruPolicyData::nwalkers |
Definition at line 22 of file store_repl_lru.cc.
Referenced by lru_free(), lru_purgeDone(), lru_purgeInit(), lru_walkDone(), and lru_walkInit().
◆ policy
RemovalPolicy* LruPolicyData::policy |
Definition at line 19 of file store_repl_lru.cc.
Referenced by createRemovalPolicy_lru().
◆ type
enum LruPolicyData::heap_entry_type LruPolicyData::type |
Referenced by lru_add(), and setPolicyNode().
The documentation for this struct was generated from the following file:
- src/repl/lru/store_repl_lru.cc