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

Private Member Functions

 SearchJobInfo (IngestJobContext jobContext, List< String > keywordListNames)
 
synchronized void addKeywordListName (String keywordListName)
 
synchronized void addKeywordResults (Keyword k, Set< Long > resultsIDs)
 
synchronized Set< Long > currentKeywordResults (Keyword k)
 
long decrementModuleReferenceCount ()
 
synchronized IngestSearchRunner.Searcher getCurrentSearcher ()
 
long getDataSourceId ()
 
IngestJobContext getJobContext ()
 
long getJobId ()
 
synchronized List< String > getKeywordListNames ()
 
void incrementModuleReferenceCount ()
 
boolean isWorkerRunning ()
 
void searchNotify ()
 
synchronized void setCurrentSearcher (IngestSearchRunner.Searcher searchRunner)
 
void setWorkerRunning (boolean flag)
 
void waitForCurrentWorker () throws InterruptedException
 

Private Attributes

final Map< Keyword, Set< Long > > currentResults
 
IngestSearchRunner.Searcher currentSearcher
 
final long dataSourceId
 
final Object finalSearchLock = new Object()
 
final IngestJobContext jobContext
 
final long jobId
 
final List< String > keywordListNames
 
final AtomicLong moduleReferenceCount = new AtomicLong(0)
 
volatile boolean workerRunning
 

Detailed Description

A data structure to keep track of the keyword lists, current results, and search running status for an ingest job.

Definition at line 364 of file IngestSearchRunner.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.SearchJobInfo ( IngestJobContext  jobContext,
List< String >  keywordListNames 
)
private

Member Function Documentation

synchronized void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.addKeywordListName ( String  keywordListName)
private

Definition at line 404 of file IngestSearchRunner.java.

synchronized void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.addKeywordResults ( Keyword  k,
Set< Long >  resultsIDs 
)
private
synchronized Set<Long> org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.currentKeywordResults ( Keyword  k)
private
long org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.decrementModuleReferenceCount ( )
private
synchronized IngestSearchRunner.Searcher org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.getCurrentSearcher ( )
private
long org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.getDataSourceId ( )
private
IngestJobContext org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.getJobContext ( )
private
long org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.getJobId ( )
private
synchronized List<String> org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.getKeywordListNames ( )
private
void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.incrementModuleReferenceCount ( )
private
boolean org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.isWorkerRunning ( )
private
void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.searchNotify ( )
private

Signals any threads waiting on the current search task to complete.

Definition at line 460 of file IngestSearchRunner.java.

References org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.finalSearchLock.

Referenced by org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.Searcher.doInBackground().

synchronized void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.setCurrentSearcher ( IngestSearchRunner.Searcher  searchRunner)
private
void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.setWorkerRunning ( boolean  flag)
private
void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.waitForCurrentWorker ( ) throws InterruptedException
private

Waits for the current search task to complete.

Exceptions
InterruptedException

Definition at line 447 of file IngestSearchRunner.java.

References org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.finalSearchLock.

Member Data Documentation

final Map<Keyword, Set<Long> > org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.currentResults
private
IngestSearchRunner.Searcher org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.currentSearcher
private
final long org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.dataSourceId
private
final Object org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.finalSearchLock = new Object()
private
final IngestJobContext org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.jobContext
private
final long org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.jobId
private
final List<String> org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.keywordListNames
private
final AtomicLong org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.moduleReferenceCount = new AtomicLong(0)
private
volatile boolean org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.workerRunning
private

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

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