public class AverageInstancesStatisticsConfig extends AbstractInstancesStatisticsConfig implements org.openspaces.admin.internal.pu.statistics.StatisticsObjectListFunction, InstancesStatisticsConfig
Constructor and Description |
---|
AverageInstancesStatisticsConfig() |
AverageInstancesStatisticsConfig(Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
Object |
calc(org.openspaces.admin.internal.pu.statistics.StatisticsObjectList values)
Applies this statistics function on the specified values
|
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 void validate() throws IllegalStateException
InstancesStatisticsConfig
validate
in interface InstancesStatisticsConfig
IllegalStateException
- - if state is found to be illegalpublic Object calc(org.openspaces.admin.internal.pu.statistics.StatisticsObjectList values)
org.openspaces.admin.internal.pu.statistics.StatisticsObjectListFunction
calc
in interface org.openspaces.admin.internal.pu.statistics.StatisticsObjectListFunction
Copyright © GigaSpaces.