Interface ITrackingStatisticsReprocessingService
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Deprecated.static interface
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup
(ZonedDateTime from, ZonedDateTime to, String... reportNames) Deprecated.Just cleans up the reports for a given time range and does not reprocess the events.reprocess
(EventList events, Class<? extends ITrackingStatisticsExtractor>... extractors) Deprecated.Reprocesses the given events using the given extractors.void
reprocess
(ZonedDateTime from, ZonedDateTime to, Consumer<ITrackingStatisticsReprocessingService.ITrackingStatisticsCleanupQuery> cleanUpStrategy, Function<IElasticEventsQuery<?>, EventList> reprocessStrategy, Collection<Class<? extends ITrackingStatisticsExtractor>> extractors) Deprecated.Reprocesses quantity reports for a given time range.
-
Method Details
-
reprocess
void reprocess(ZonedDateTime from, ZonedDateTime to, Consumer<ITrackingStatisticsReprocessingService.ITrackingStatisticsCleanupQuery> cleanUpStrategy, Function<IElasticEventsQuery<?>, EventList> reprocessStrategy, Collection<Class<? extends ITrackingStatisticsExtractor>> extractors) Deprecated.Reprocesses quantity reports for a given time range. The reprocessing is done in two steps: cleanup of existing data and the reprocessing.- Parameters:
from
- The start of the time rangeto
- The end of the time rangecleanUpStrategy
- The strategy for cleaning up the existing reports. Implicitly respects the reprocessing time range.reprocessStrategy
- The strategy for selecting events for reprocessing. Implicitly respects the reprocessing time range.extractors
- The extractors to use for reprocessing.
-
cleanup
Deprecated.Just cleans up the reports for a given time range and does not reprocess the events. Comparing toreprocess(ZonedDateTime, ZonedDateTime, Consumer, Function, Collection)
gives even more granular control over the cleanup process.- Parameters:
from
- The start of the time rangeto
- The end of the time rangereportNames
- The names of the reports to clean up
-
reprocess
ITrackingStatisticsReprocessingService.TrackingStatisticsProcessingResult reprocess(EventList events, Class<? extends ITrackingStatisticsExtractor>... extractors) Deprecated.Reprocesses the given events using the given extractors. WARNING: This method does no cleanup of existing statistics data, which must achieved manually for a correct result. Consider callingcleanup(ZonedDateTime from, ZonedDateTime to, String...reportNames)
. Comparing toreprocess(ZonedDateTime, ZonedDateTime, Consumer, Function, Collection)
gives even more granular control over the process.- Parameters:
events
- The events to reprocessextractors
- The extractors to use for reprocessing- Returns:
- The result of the reprocessing
-