class TingYun::Agent::Collector::BaseQuantileHash

Attributes

hash[R]

Public Class Methods

new() click to toggle source
# File lib/ting_yun/agent/collector/stats_engine/base_quantile_hash.rb, line 7
def initialize
  @hash = {}
end

Public Instance Methods

merge!(hash) click to toggle source
# File lib/ting_yun/agent/collector/stats_engine/base_quantile_hash.rb, line 11
def merge!(hash)
  hash.each do |name, time|
    @hash[name] ||= []
    @hash[name] << time
  end
end