public void set ( ValueMetric metric , long value ) { assert metric != null ; ValueHistory history = values . get ( metric ) ; if ( history != null ) history . recordNewValue ( value ) ; }
Record a specific value for a metric called by the code that knows when and how the metric changes .