Session::ClusterConfig
Inherits Reference < Object
Cluster configuration for multi-node deployments Defined here to be available for Configuration class
Constructors
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)
SourceInstance methods
channel
Sourcechannel=(channel : String)
Sourceenabled
Sourceenabled=(enabled : Bool)
Sourcelocal_cache_enabled
Sourcelocal_cache_enabled=(local_cache_enabled : Bool)
Sourcelocal_cache_max_size
Sourcelocal_cache_max_size=(local_cache_max_size : Int32)
Sourcelocal_cache_ttl
Sourcelocal_cache_ttl=(local_cache_ttl : Time::Span)
Sourcenode_id
Sourcenode_id=(node_id : String)
Sourcesubscribe_timeout
Sourcesubscribe_timeout=(subscribe_timeout : Time::Span)
Source