Sha256: 870b49af14841bb66ea83c0bf2c22e110790df239d426481f4d41ffb3a10d74d

Contents?: true

Size: 342 Bytes

Versions: 7

Compression:

Stored size: 342 Bytes

Contents

module TingYun
  module Agent
    module Collector
      class BaseQuantileHash
        attr_reader :hash

        def initialize
          @hash = {}
        end

        def merge!(hash)
          hash.each do |name, time|
            @hash[name] ||= []
            @hash[name] << time
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tingyun_rpm-3.2.0 lib/ting_yun/agent/collector/stats_engine/base_quantile_hash.rb
tingyun_rpm-1.6.1 lib/ting_yun/agent/collector/stats_engine/base_quantile_hash.rb
tingyun_rpm-1.5.0 lib/ting_yun/agent/collector/stats_engine/base_quantile_hash.rb
tingyun_rpm-1.4.2 lib/ting_yun/agent/collector/stats_engine/base_quantile_hash.rb
tingyun_rpm-1.4.1 lib/ting_yun/agent/collector/stats_engine/base_quantile_hash.rb
tingyun_rpm-1.3.1 lib/ting_yun/agent/collector/stats_engine/base_quantile_hash.rb
tingyun_rpm-1.3.0 lib/ting_yun/agent/collector/stats_engine/base_quantile_hash.rb