abstract class Components::Cache::InvalidationStrategy

Overview

Base class for cache invalidation strategies

Direct Known Subclasses

Defined in:

components/cache/invalidation_strategies.cr

Instance Method Summary

Instance Method Detail

abstract def invalidate(component : Component, cache_store : CacheStore) : Nil #

[View source]
abstract def should_invalidate?(component : Component, event : InvalidationEvent) : Bool #

[View source]