class
CQL::Cache::CacheKeyBuilder
- CQL::Cache::CacheKeyBuilder
- Reference
- Object
Overview
Cache key builder for complex scenarios
Defined in:
cache/fragment_cache.crConstructors
Instance Method Summary
-
#add_component(component : String) : self
Add a component to the cache key
-
#add_param(key : String, value : DB::Any) : self
Add a parameter that will be hashed into the key
-
#build : String
Build the final cache key
-
#reset : self
Reset the builder for reuse
Constructor Detail
Instance Method Detail
def add_param(key : String, value : DB::Any) : self
#
Add a parameter that will be hashed into the key