public static MetricAggregate fromMetricIdentity ( final MetricIdentity identity , final long currentMinute ) { Preconditions . checkNotNull ( identity ) ; return new MetricAggregate ( identity , currentMinute ) ; }
Creates a MetricAggregate