public class PercentileTimeWindowStatisticsConfig extends AbstractTimeWindowStatisticsConfig implements StatisticsObjectListFunction
Constructor and Description |
---|
PercentileTimeWindowStatisticsConfig() |
PercentileTimeWindowStatisticsConfig(Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
Object |
calc(StatisticsObjectList values)
Applies this statistics function on the specified values
|
double |
getPercentile() |
void |
setPercentile(double percentile) |
void |
validate()
Checks the content of this config is valid.
|
getMaximumTimeWindowSeconds, getMaxNumberOfSamples, getMinimumTimeWindowSeconds, getTimeWindowSeconds, setMaximumTimeWindowSeconds, setMinimumTimeWindowSeconds, setTimeWindowSeconds
equals, getProperties, getStringProperties, hashCode, setProperties, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProperties
public PercentileTimeWindowStatisticsConfig()
public double getPercentile()
public void setPercentile(double percentile)
public void validate() throws IllegalStateException
TimeWindowStatisticsConfig
validate
in interface TimeWindowStatisticsConfig
validate
in class AbstractTimeWindowStatisticsConfig
IllegalStateException
- - if state is found to be illegalpublic Object calc(StatisticsObjectList values)
StatisticsObjectListFunction
calc
in interface StatisticsObjectListFunction
Copyright © GigaSpaces.