public abstract class AbstractTimeWindowStatisticsConfig extends AbstractConfig implements TimeWindowStatisticsConfig
Modifier | Constructor and Description |
---|---|
protected |
AbstractTimeWindowStatisticsConfig(Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
Long |
getMaximumTimeWindowSeconds() |
int |
getMaxNumberOfSamples(long statisticsPollingInterval,
TimeUnit timeUnit) |
Long |
getMinimumTimeWindowSeconds() |
Long |
getTimeWindowSeconds() |
void |
setMaximumTimeWindowSeconds(long maximumTimeWindowSeconds) |
void |
setMinimumTimeWindowSeconds(long minimumTimeWindowSeconds) |
void |
setTimeWindowSeconds(long timeWindowSeconds) |
void |
validate()
Checks the content of this config is valid.
|
equals, getProperties, getStringProperties, hashCode, setProperties, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProperties
public Long getTimeWindowSeconds()
public void setTimeWindowSeconds(long timeWindowSeconds)
timeWindowSeconds
- the timeWindowSeconds to setpublic Long getMinimumTimeWindowSeconds()
public void setMinimumTimeWindowSeconds(long minimumTimeWindowSeconds)
minimumTimeWindowSeconds
- the minimumTimeWindowSeconds to setpublic Long getMaximumTimeWindowSeconds()
public void setMaximumTimeWindowSeconds(long maximumTimeWindowSeconds)
maximumTimeWindowSeconds
- the maximumTimeWindowSeconds to setpublic void validate() throws IllegalStateException
TimeWindowStatisticsConfig
validate
in interface TimeWindowStatisticsConfig
IllegalStateException
- - if state is found to be illegalpublic int getMaxNumberOfSamples(long statisticsPollingInterval, TimeUnit timeUnit)
getMaxNumberOfSamples
in interface TimeWindowStatisticsConfig
Copyright © GigaSpaces.