Class BuildStatisticsMetrics


  • public class BuildStatisticsMetrics
    extends Object
    • Constructor Detail

      • BuildStatisticsMetrics

        public BuildStatisticsMetrics​(@NotNull
                                      SQLRunnerEx sqlRunner)
    • Method Detail

      • getAndStoreMetricId

        public long getAndStoreMetricId​(@NotNull
                                        String valueTypeKey)
        Generates metric id for provided value type key and ensures that this metric id is stored in dictionary.
        Parameters:
        valueTypeKey - value type key for which metric id is generated
        Returns:
        generated metric id
      • getMetricId

        public long getMetricId​(@NotNull
                                String valueTypeKey)
        Generates metric id for provided value type key, does not check for presence of this metric id in dictionary.
        Parameters:
        valueTypeKey - value type key for which metric id is generated
        Returns:
        see above