class
Session::ClusterConfig
- Session::ClusterConfig
- Reference
- Object
Overview
Cluster configuration for multi-node deployments Defined here to be available for Configuration class
Defined in:
configuration.crConstructors
Instance Method Summary
- #channel : String
- #channel=(channel : String)
- #enabled : Bool
- #enabled=(enabled : Bool)
- #local_cache_enabled : Bool
- #local_cache_enabled=(local_cache_enabled : Bool)
- #local_cache_max_size : Int32
- #local_cache_max_size=(local_cache_max_size : Int32)
- #local_cache_ttl : Time::Span
- #local_cache_ttl=(local_cache_ttl : Time::Span)
- #node_id : String
- #node_id=(node_id : String)
- #subscribe_timeout : Time::Span
- #subscribe_timeout=(subscribe_timeout : Time::Span)
Constructor Detail
def self.new(enabled : Bool = false, node_id : String = UUID.random.to_s, channel : String = "session:cluster:invalidate", local_cache_enabled : Bool = true, local_cache_ttl : Time::Span = 30.seconds, local_cache_max_size : Int32 = 10000, subscribe_timeout : Time::Span = 5.seconds)
#