public class SolrQueryStatisticsCollectorJob extends AbstractJobPerformable<SolrQueryStatisticsCollectorCronJobModel>
flexibleSearchService, modelService, sessionService| Constructor and Description |
|---|
SolrQueryStatisticsCollectorJob() |
| Modifier and Type | Method and Description |
|---|---|
PerformResult |
perform(SolrQueryStatisticsCollectorCronJobModel cronJob)
The execution body for a
ServicelayerJob. |
void |
setAggregatedQueryStatsService(AggregatedQueryStatsService aggregatedQueryStatsService) |
void |
setEnableCollectingStatistics(boolean enableCollectingStatistics) |
void |
setSolrQueryStatisticsAggregator(SolrQueryStatisticsAggregator solrQueryStatisticsAggregator) |
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionServicepublic PerformResult perform(SolrQueryStatisticsCollectorCronJobModel cronJob)
JobPerformableServicelayerJob. Implement here your execution logic. It can be called
synchronous or asynchronous. So be aware of thread-safety. Method will return a result object saying if the
execution has reached end and if it was successful.perform in interface JobPerformable<SolrQueryStatisticsCollectorCronJobModel>perform in class AbstractJobPerformable<SolrQueryStatisticsCollectorCronJobModel>cronJob - the related CronJob in whose context the execution will be performed.PerformResult that indicates whether the execution was successfully executed
or not and has finished or not.public void setSolrQueryStatisticsAggregator(SolrQueryStatisticsAggregator solrQueryStatisticsAggregator)
public void setAggregatedQueryStatsService(AggregatedQueryStatsService aggregatedQueryStatsService)
public void setEnableCollectingStatistics(boolean enableCollectingStatistics)
Copyright © 2017 SAP SE. All Rights Reserved.