Module: SolidCache::Store::Stats

Included in:
SolidCache::Store
Defined in:
lib/solid_cache/store/stats.rb

Instance Method Summary collapse

Instance Method Details

#initialize(options = {}) ⇒ Object



6
7
8
# File 'lib/solid_cache/store/stats.rb', line 6

def initialize(options = {})
  super(options)
end

#statsObject



10
11
12
13
14
15
# File 'lib/solid_cache/store/stats.rb', line 10

def stats
  {
    connections: connections.count,
    connection_stats: connections_stats
  }
end