Sha256: d01ddfb8c0dc9aa39cd15b35b737f6c21a9aa335a65c38a2377bb4fdb306ecd5
Contents?: true
Size: 554 Bytes
Versions: 8
Compression:
Stored size: 554 Bytes
Contents
module MetricFu class HotspotGroupings def initialize(table, opts) @table, @opts = table, opts end def get_grouping #Ruport::Data::Grouping.new(table, opts) MetricFu::Grouping.new(@table, @opts) #@grouping_cache ||= {} #@grouping_cache.fetch(grouping_key(table,opts)) do # @grouping_cache[grouping_key(table,opts)] = Ruport::Data::Grouping.new(table, opts) #end end # UNUSED # def grouping_key(table, opts) # "table #{table.object_id} opts #{opts.inspect}" # end end end
Version data entries
8 entries across 8 versions & 1 rubygems