Module: Tasker::CacheCapabilities
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/tasker/cache_capabilities.rb
Overview
Module for custom cache stores to declare their capabilities
This module provides a clean, developer-friendly API for custom cache store implementations to declare their capabilities explicitly. This enables the CacheStrategy system to make optimal coordination decisions without relying on runtime introspection.
Usage Patterns:
- Include the module in your custom cache store class
- Use convenience methods like
supports_distributed_caching! - Or declare capabilities explicitly with
declare_cache_capability