com.netflix.servo.monitor
Interface Counter

All Superinterfaces:
Monitor<java.lang.Number>, NumericMonitor<java.lang.Number>
All Known Implementing Classes:
BasicCounter, ContextualCounter, PeakRateCounter, ResettableCounter, StepCounter

public interface Counter
extends NumericMonitor<java.lang.Number>

Monitor type for tracking how often some event is occurring.


Method Summary
 void increment()
          Update the count by one.
 void increment(long amount)
          Update the count by the specified amount.
 
Methods inherited from interface com.netflix.servo.monitor.Monitor
getConfig, getValue
 

Method Detail

increment

void increment()
Update the count by one.


increment

void increment(long amount)
Update the count by the specified amount.