public class DefaultStatisticsCollector extends Object implements StatisticsCollector
| Constructor and Description |
|---|
DefaultStatisticsCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatistic(SearchQueryInfo searchResult)
Adds single statistic
|
void |
clear()
Clears all statistics
|
List<AggregatedSearchQueryInfo> |
getAggregatedStatistics()
Returns all aggregated statistics for all single queries that had been added
|
void |
setFormatter(SimpleDateFormat formatter) |
public void addStatistic(SearchQueryInfo searchResult)
StatisticsCollectoraddStatistic in interface StatisticsCollectorpublic List<AggregatedSearchQueryInfo> getAggregatedStatistics()
StatisticsCollectorgetAggregatedStatistics in interface StatisticsCollectorpublic void clear()
StatisticsCollectorclear in interface StatisticsCollectorpublic void setFormatter(SimpleDateFormat formatter)
Copyright © 2017 SAP SE. All Rights Reserved.