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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPropertiespublic 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
TimeWindowStatisticsConfigvalidate in interface TimeWindowStatisticsConfigIllegalStateException - - if state is found to be illegalpublic int getMaxNumberOfSamples(long statisticsPollingInterval,
TimeUnit timeUnit)
getMaxNumberOfSamples in interface TimeWindowStatisticsConfigCopyright © GigaSpaces.