#include <RemovalPolicy.h>
Public Member Functions | |
void * | operator new (size_t size) |
void | operator delete (void *address) |
void * | toCbdata () noexcept |
Public Attributes | |
const char * | _type |
void * | _data |
void(* | Free )(RemovalPolicy *policy) |
void(* | Add )(RemovalPolicy *policy, StoreEntry *entry, RemovalPolicyNode *node) |
void(* | Remove )(RemovalPolicy *policy, StoreEntry *entry, RemovalPolicyNode *node) |
void(* | Referenced )(RemovalPolicy *policy, const StoreEntry *entry, RemovalPolicyNode *node) |
void(* | Dereferenced )(RemovalPolicy *policy, const StoreEntry *entry, RemovalPolicyNode *node) |
RemovalPolicyWalker *(* | WalkInit )(RemovalPolicy *policy) |
RemovalPurgeWalker *(* | PurgeInit )(RemovalPolicy *policy, int max_scan) |
void(* | Stats )(RemovalPolicy *policy, StoreEntry *entry) |
Static Private Attributes | |
static cbdata_type | CBDATA_RemovalPolicy = CBDATA_UNKNOWN |
Detailed Description
Definition at line 38 of file RemovalPolicy.h.
Member Function Documentation
◆ operator delete()
|
inline |
Definition at line 40 of file RemovalPolicy.h.
◆ operator new()
|
inline |
Definition at line 40 of file RemovalPolicy.h.
◆ toCbdata()
|
inlinenoexcept |
Definition at line 40 of file RemovalPolicy.h.
Member Data Documentation
◆ _data
void* RemovalPolicy::_data |
Definition at line 44 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_heap(), createRemovalPolicy_lru(), heap_add(), heap_free(), heap_purgeInit(), heap_referenced(), heap_remove(), heap_walkDone(), heap_walkInit(), lru_add(), lru_free(), lru_purgeDone(), lru_purgeInit(), lru_referenced(), lru_remove(), lru_stats(), lru_walkDone(), and lru_walkInit().
◆ _type
const char* RemovalPolicy::_type |
Definition at line 43 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_heap(), createRemovalPolicy_lru(), heap_free(), heap_walkDone(), lru_free(), lru_purgeDone(), and lru_walkDone().
◆ Add
void(* RemovalPolicy::Add) (RemovalPolicy *policy, StoreEntry *entry, RemovalPolicyNode *node) |
Definition at line 46 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_heap(), createRemovalPolicy_lru(), and StoreEntry::setMemStatus().
◆ CBDATA_RemovalPolicy
|
staticprivate |
Definition at line 40 of file RemovalPolicy.h.
◆ Dereferenced
void(* RemovalPolicy::Dereferenced) (RemovalPolicy *policy, const StoreEntry *entry, RemovalPolicyNode *node) |
Definition at line 49 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_heap(), createRemovalPolicy_lru(), and Store::Controller::dereferenceIdle().
◆ Free
void(* RemovalPolicy::Free) (RemovalPolicy *policy) |
Definition at line 45 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_heap(), and createRemovalPolicy_lru().
◆ PurgeInit
RemovalPurgeWalker *(* RemovalPolicy::PurgeInit) (RemovalPolicy *policy, int max_scan) |
Definition at line 51 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_heap(), createRemovalPolicy_lru(), and Store::Controller::freeMemorySpace().
◆ Referenced
void(* RemovalPolicy::Referenced) (RemovalPolicy *policy, const StoreEntry *entry, RemovalPolicyNode *node) |
Definition at line 48 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_heap(), createRemovalPolicy_lru(), and Store::Controller::referenceBusy().
◆ Remove
void(* RemovalPolicy::Remove) (RemovalPolicy *policy, StoreEntry *entry, RemovalPolicyNode *node) |
Definition at line 47 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_heap(), createRemovalPolicy_lru(), and StoreEntry::setMemStatus().
◆ Stats
void(* RemovalPolicy::Stats) (RemovalPolicy *policy, StoreEntry *entry) |
Definition at line 52 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_lru().
◆ WalkInit
RemovalPolicyWalker *(* RemovalPolicy::WalkInit) (RemovalPolicy *policy) |
Definition at line 50 of file RemovalPolicy.h.
Referenced by createRemovalPolicy_heap(), and createRemovalPolicy_lru().
The documentation for this class was generated from the following files:
- src/RemovalPolicy.h
- src/RemovalPolicy.cc