org.openspaces.admin.pu.statistics
Interface TimeWindowStatisticsConfig
- All Known Implementing Classes:
- AbstractTimeWindowStatisticsConfig, AverageTimeWindowStatisticsConfig, CpuPercentageTimeWindowStatisticsConfig, LastSampleTimeWindowStatisticsConfig, MaximumTimeWindowStatisticsConfig, MinimumTimeWindowStatisticsConfig, PercentileTimeWindowStatisticsConfig, ThroughputTimeWindowStatisticsConfig
public interface TimeWindowStatisticsConfig
Marks configurations that aggregate statistics from time samples.
- Since:
- 9.0.0
- Author:
- itaif
- See Also:
ProcessingUnitStatisticsId
getProperties
Map<String,String> getProperties()
validate
void validate()
throws IllegalStateException
- Checks the content of this config is valid.
- Throws:
IllegalStateException
- - if state is found to be illegal
getMaxNumberOfSamples
int getMaxNumberOfSamples(long statisticsPollingInterval,
TimeUnit timeUnit)
- Returns:
- the maximum number of samples required given the specified interval between consecutive samples.
Copyright © GigaSpaces.