Class: CountMetricComputer

Inherits:
MetricComputer show all
Defined in:
lib/boxxspring/worker/metrics/count_metric_computer.rb

Instance Method Summary collapse

Methods inherited from MetricComputer

#initialize, #name, #to_json, #unit

Constructor Details

This class inherits a constructor from MetricComputer

Instance Method Details

#startObject



7
8
# File 'lib/boxxspring/worker/metrics/count_metric_computer.rb', line 7

def start
end

#stopObject



10
11
# File 'lib/boxxspring/worker/metrics/count_metric_computer.rb', line 10

def stop 
end

#valueObject



3
4
5
# File 'lib/boxxspring/worker/metrics/count_metric_computer.rb', line 3

def value 
  @value
end