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:
1. Include the module in your custom cache store class
2. Use convenience methods like supports_distributed_caching!
3. Or declare capabilities explicitly with declare_cache_capability