Class Cabin::Metrics::Counter
In: lib/cabin/metrics/counter.rb
lib/cabin/metrics/counter.rb
Parent: Object

Methods

decr   decr   incr   incr   new   new   to_hash   to_hash   value   value  

Included Modules

Cabin::Metric Cabin::Metric

Public Class methods

A new Counter.

Counters can be incremented and decremented only by 1 at a time..

A new Counter.

Counters can be incremented and decremented only by 1 at a time..

Public Instance methods

decrement this counter

decrement this counter

increment this counter

increment this counter

Get the value of this metric.

Get the value of this metric.

[Validate]