GigaSpaces XAP 9.7.2 API

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

Method Summary
 int getMaxNumberOfSamples(long statisticsPollingInterval, TimeUnit timeUnit)
           
 Map<String,String> getProperties()
           
 void validate()
          Checks the content of this config is valid.
 

Method Detail

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.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.