Method: NewRelic::Agent::StatsEngine#initialize
- Defined in:
- lib/new_relic/agent/stats_engine.rb
permalink #initialize ⇒ StatsEngine
Returns a new instance of StatsEngine.
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 |