class
CQL::Cache::RedisCache::Config
- CQL::Cache::RedisCache::Config
- Reference
- Object
Overview
Configuration for Redis connection
Defined in:
cache/redis_cache.crConstructors
Instance Method Summary
- #command_timeout : Time::Span
- #command_timeout=(command_timeout : Time::Span)
- #connection_pool_size : Int32
- #connection_pool_size=(connection_pool_size : Int32)
- #connection_timeout : Time::Span
- #connection_timeout=(connection_timeout : Time::Span)
- #key_prefix : String
- #key_prefix=(key_prefix : String)
- #reconnect_attempts : Int32
- #reconnect_attempts=(reconnect_attempts : Int32)
- #url : String
- #url=(url : String)
Constructor Detail
def self.new(url : String = "redis://localhost:6379/0", key_prefix : String = "cql", connection_pool_size : Int32 = 25, connection_timeout : Time::Span = 5.seconds, command_timeout : Time::Span = 5.seconds, reconnect_attempts : Int32 = 3)
#