Method: NewRelic::Agent::StatsEngine#reset!

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

#reset!Object

[View source]

130
131
132
133
134
135
136
# File 'lib/new_relic/agent/stats_engine.rb', line 130

def reset!
  with_stats_lock do
    old = @stats_hash
    @stats_hash = StatsHash.new
    old
  end
end