Method: NewRelic::Agent::StatsEngine#initialize

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

#initializeStatsEngine

Returns a new instance of StatsEngine.

[View source]

15
16
17
18
19
# File 'lib/new_relic/agent/stats_engine.rb', line 15

def initialize
  @stats_lock = Mutex.new
  @stats_hash = StatsHash.new
  @metric_rules = RulesEngine.new
end