MCPcopy Create free account
hub / github.com/apache/trafficserver / _victimize

Method _victimize

src/iocore/cache/RamCacheCLFUS.cc:381–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void
382RamCacheCLFUS::_victimize(RamCacheCLFUSEntry *e)
383{
384 this->_objects--;
385 DDbg(dbg_ctl_ram_cache, "put %X %" PRId64 " size %d VICTIMIZED", e->key.slice32(3), e->auxkey, e->size);
386 e->data = nullptr;
387 e->flag_bits.lru = 1;
388 this->_lru[1].enqueue(e);
389 this->_history++;
390}
391
392void
393RamCacheCLFUS::_move_compressed(RamCacheCLFUSEntry *e)

Callers 1

putMethod · 0.95

Calls 1

enqueueMethod · 0.45

Tested by

no test coverage detected