Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | List of all members
org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.PeriodicSearchTask Class Reference

Inherits Runnable.

Public Member Functions

void run ()
 

Private Member Functions

void recalculateUpdateIntervalTime (long lastSerchTimeSec)
 

Detailed Description

Task that runs in ScheduledThreadPoolExecutor to periodically start and wait for keyword search tasks for each keyword search job in progress. The keyword search tasks for individual ingest jobs are implemented as SwingWorkers to support legacy APIs.

Definition at line 283 of file IngestSearchRunner.java.

Member Function Documentation

void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.PeriodicSearchTask.recalculateUpdateIntervalTime ( long  lastSerchTimeSec)
private

Sets the time interval between periodic keyword searches to avoid running back-to-back searches. If the most recent round of searches took longer that 1/4 of the current interval, doubles the interval.

Parameters
lastSerchTimeSecThe time in seconds used to execute the most recent round of keword searches.

Definition at line 351 of file IngestSearchRunner.java.

Referenced by org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.PeriodicSearchTask.run().

void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.PeriodicSearchTask.run ( )

The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Thu May 11 2023
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.