KT-57371: Add versions for FUS statistic bean

This commit is contained in:
Nataliya.Valtman
2023-03-31 02:42:25 +02:00
committed by Space Team
parent caa7bee917
commit 2c2a01113e
8 changed files with 168 additions and 83 deletions
@@ -5,18 +5,6 @@
package org.jetbrains.kotlin.statistics.metrics
interface ReportStatisticsValue<T> {
val name: String
val value: T
}
class ReportOnceStatisticsValue<T>(override val name: String, override val value: T) :
ReportStatisticsValue<T>
interface AdditiveStatisticsValue<T> : ReportStatisticsValue<T> {
fun addValue(t: T)
}
interface IStatisticsValuesConsumer {
fun report(metric: BooleanMetrics, value: Boolean, subprojectName: String? = null, weight: Long? = null): Boolean