Home | History | Annotate | Download | only in disk_cache

Lines Matching refs:Eviction

5 // The eviction policy is a very simple pure LRU, so the elements at the end of
10 // The new (in-development) eviction policy ads re-use as a factor to evict
29 #include "net/disk_cache/eviction.h"
59 void Eviction::Init(BackendImpl* backend) {
72 void Eviction::TrimCache(bool empty) {
107 factory_.NewRunnableMethod(&Eviction::TrimCache, false));
120 void Eviction::UpdateRank(EntryImpl* entry, bool modified) {
127 void Eviction::OnOpenEntry(EntryImpl* entry) {
132 void Eviction::OnCreateEntry(EntryImpl* entry) {
139 void Eviction::OnDoomEntry(EntryImpl* entry) {
146 void Eviction::OnDestroyEntry(EntryImpl* entry) {
151 void Eviction::PostDelayedTrim() {
157 factory_.NewRunnableMethod(&Eviction::DelayedTrim), 1000);
160 void Eviction::DelayedTrim() {
165 void Eviction::ReportTrimTimes(EntryImpl* entry) {
193 Rankings::List Eviction::GetListForEntry(EntryImpl* entry) {
197 bool Eviction::EvictEntry(CacheRankingsBlock* node, bool empty) {
225 void Eviction::TrimCacheV2(bool empty) {
287 factory_.NewRunnableMethod(&Eviction::TrimCache, false));
300 factory_.NewRunnableMethod(&Eviction::TrimDeleted, empty));
309 void Eviction::UpdateRankV2(EntryImpl* entry, bool modified) {
313 void Eviction::OnOpenEntryV2(EntryImpl* entry) {
334 void Eviction::OnCreateEntryV2(EntryImpl* entry) {
363 void Eviction::OnDoomEntryV2(EntryImpl* entry) {
375 void Eviction::OnDestroyEntryV2(EntryImpl* entry) {
379 Rankings::List Eviction::GetListForEntryV2(EntryImpl* entry) {
394 void Eviction::TrimDeleted(bool empty) {
411 factory_.NewRunnableMethod(&Eviction::TrimDeleted, false));
418 bool Eviction::RemoveDeletedNode(CacheRankingsBlock* node) {
438 bool Eviction::NodeIsOldEnough(CacheRankingsBlock* node, int list) {
450 int Eviction::SelectListByLenght() {
461 void Eviction::ReportListStats() {