Class cache_extent_clear

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public rer::client< cache_extent_clear >

Class Documentation

class cache_extent_clear : public rer::client<cache_extent_clear>

Clear the cells that a cache covers while in the arena that are in CACHE_EXTENT state, resetting them to EMPTY. Called right before deleting the cache from the arena.

Note

This operation requires holding the cache and grid mutexes in multithreaded contexts.

Public Types

using visit_typelist = visit_typelist_impl::value

Public Functions

explicit cache_extent_clear(carepr::arena_cache *victim)
cache_extent_clear(const cache_extent_clear&) = delete
cache_extent_clear &operator=(const cache_extent_clear&) = delete
void visit(cads::arena_grid &grid)