Interface TimeWindowStatisticsConfig
- All Known Implementing Classes:
AbstractTimeWindowStatisticsConfig,AverageTimeWindowStatisticsConfig,CpuPercentageTimeWindowStatisticsConfig,ErasedTimeWindowStatisticsConfig,LastSampleTimeWindowStatisticsConfig,MaximumTimeWindowStatisticsConfig,MinimumTimeWindowStatisticsConfig,PercentileTimeWindowStatisticsConfig,ThroughputTimeWindowStatisticsConfig
public interface TimeWindowStatisticsConfig
Marks configurations that aggregate statistics from time samples.
- Since:
- 9.0.0
- Author:
- itaif
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintgetMaxNumberOfSamples(long statisticsPollingInterval, TimeUnit timeUnit) voidvalidate()Checks the content of this config is valid.
-
Method Details
-
getProperties
-
validate
Checks the content of this config is valid.- Throws:
IllegalStateException- - if state is found to be illegal
-
getMaxNumberOfSamples
- Returns:
- the maximum number of samples required given the specified interval between consecutive samples.
-