#include <RemovalPolicy.h>

Collaboration diagram for RemovalPolicy:

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()

void RemovalPolicy::operator delete ( void *  address)
inline

Definition at line 40 of file RemovalPolicy.h.

◆ operator new()

void* RemovalPolicy::operator new ( size_t  size)
inline

Definition at line 40 of file RemovalPolicy.h.

◆ toCbdata()

void* RemovalPolicy::toCbdata ( )
inlinenoexcept

Definition at line 40 of file RemovalPolicy.h.

Member Data Documentation

◆ _data

◆ _type

◆ Add

◆ CBDATA_RemovalPolicy

cbdata_type RemovalPolicy::CBDATA_RemovalPolicy = CBDATA_UNKNOWN
staticprivate

Definition at line 40 of file RemovalPolicy.h.

◆ Dereferenced

◆ Free

void(* RemovalPolicy::Free) (RemovalPolicy *policy)

Definition at line 45 of file RemovalPolicy.h.

Referenced by createRemovalPolicy_heap(), and createRemovalPolicy_lru().

◆ PurgeInit

◆ Referenced

◆ Remove

◆ Stats

void(* RemovalPolicy::Stats) (RemovalPolicy *policy, StoreEntry *entry)

Definition at line 52 of file RemovalPolicy.h.

Referenced by createRemovalPolicy_lru(), and Store::Disk::stat().

◆ WalkInit

RemovalPolicyWalker*(* RemovalPolicy::WalkInit) (RemovalPolicy *policy)

The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors