Method: NewRelic::Agent::StatsEngine#merge!

Defined in:
lib/new_relic/agent/stats_engine.rb

#merge!(other_stats_hash) ⇒ Object

merge data from previous harvests into this stats engine


139
140
141
142
143
144
# File 'lib/new_relic/agent/stats_engine.rb', line 139

def merge!(other_stats_hash)
  with_stats_lock do
    @stats_hash.merge!(other_stats_hash)
    @stats_hash
  end
end