Class: SolidCache::Cluster
- Inherits:
-
Object
- Object
- SolidCache::Cluster
- Includes:
- Connections, Execution, Expiry, Stats
- Defined in:
- lib/solid_cache/cluster.rb,
lib/solid_cache/cluster/stats.rb,
lib/solid_cache/cluster/expiry.rb,
lib/solid_cache/cluster/execution.rb,
lib/solid_cache/cluster/connections.rb
Defined Under Namespace
Modules: Connections, Execution, Expiry, Stats
Constant Summary
Constants included from Expiry
Instance Attribute Summary collapse
-
#error_handler ⇒ Object
readonly
Returns the value of attribute error_handler.
Attributes included from Connections
Attributes included from Expiry
#expires_per_write, #expiry_batch_size, #expiry_method, #expiry_queue, #max_age, #max_entries, #max_size
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Cluster
constructor
A new instance of Cluster.
- #setup! ⇒ Object
Methods included from Connections
#connection_names, #connections, #group_by_connection, #with_connection, #with_connection_for, #with_each_connection
Methods included from Expiry
Methods included from Stats
Constructor Details
#initialize(options = {}) ⇒ Cluster
Returns a new instance of Cluster.
9 10 11 12 |
# File 'lib/solid_cache/cluster.rb', line 9 def initialize( = {}) @error_handler = [:error_handler] super() end |
Instance Attribute Details
#error_handler ⇒ Object (readonly)
Returns the value of attribute error_handler.
7 8 9 |
# File 'lib/solid_cache/cluster.rb', line 7 def error_handler @error_handler end |
Instance Method Details
#setup! ⇒ Object
14 15 16 |
# File 'lib/solid_cache/cluster.rb', line 14 def setup! super end |