google-nomulus/java
shikhman f10a7d8fb0 Enforce monotonicity for IncrementableMetrics
This change enforces that IncrementableMetrics should only monotonically
increase in value, and adds a new increment() method to increment by one, which is slightly faster than incrementBy (due to a lack of non-negative checking) in the common case that the counter should only be incremented by one.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=130578421
2016-08-22 14:20:33 -04:00
..
com/google Fix up license headers and Python linting 2016-08-02 19:16:42 -04:00
google/registry Enforce monotonicity for IncrementableMetrics 2016-08-22 14:20:33 -04:00