Class: Mnemonic::Metric::GCStat

Inherits:
HashMetric show all
Defined in:
lib/mnemonic/metric/gc_stat.rb

Instance Method Summary collapse

Methods inherited from HashMetric

#[], #each_submetric, #refresh!, #start!

Constructor Details

#initialize(*keys) ⇒ GCStat

Returns a new instance of GCStat.



4
5
6
7
# File 'lib/mnemonic/metric/gc_stat.rb', line 4

def initialize(*keys)
  keys = DEFAULT_KEYS if keys.empty?
  super
end

Instance Method Details

#nameObject



9
10
11
# File 'lib/mnemonic/metric/gc_stat.rb', line 9

def name
  'GCStat'.freeze
end