-
public class RateStatisticsKeep this for backward compatibility before we migrate away from it.
-
-
Constructor Summary
Constructors Constructor Description RateStatistics(Integer windowSizeMs, Float scale, Clock clock)RateStatistics(Integer windowSizeMs, Float scale)RateStatistics(Integer windowSizeMs)RateStatistics()
-
Method Summary
Modifier and Type Method Description final RateTrackergetTracker()final FloatgetScale()final LonggetRate()final ClockgetClock()LonggetRate(Long nowMs)final LonggetAccumulatedCount(Long nowMs)final LonggetAccumulatedCount()final Unitupdate(Integer count, Long nowMs)final Unitupdate(Integer count)final Unitupdate()-
-
Method Detail
-
getTracker
final RateTracker getTracker()
-
getAccumulatedCount
@JvmOverloads() final Long getAccumulatedCount(Long nowMs)
-
getAccumulatedCount
@JvmOverloads() final Long getAccumulatedCount()
-
update
@JvmOverloads() final Unit update(Integer count, Long nowMs)
-
update
@JvmOverloads() final Unit update(Integer count)
-
update
@JvmOverloads() final Unit update()
-
-
-
-