class Components::Cache::CascadeInvalidation

Overview

Cascade invalidation to dependent components

Defined in:

components/cache/invalidation_strategies.cr

Constructors

Instance Method Summary

Instance methods inherited from class Components::Cache::InvalidationStrategy

invalidate(component : Component, cache_store : CacheStore) : Nil invalidate, should_invalidate?(component : Component, event : InvalidationEvent) : Bool should_invalidate?

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add_dependency(parent : String, child : String) : Nil #

[View source]
def invalidate(component : Component, cache_store : CacheStore) : Nil #

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

[View source]