public void increment ( ValueMetric metric , long incrementalValue ) { assert metric != null ; ValueHistory history = values . get ( metric ) ; if ( history != null ) history . recordIncrement ( incrementalValue ) ; }
Record an incremental change to a value called by the code that knows when and how the metric changes .