Autopsy  4.7.0
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

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

Detailed Description

Data structure to keep track of keyword lists, current results, and search running status for each jobid

Definition at line 333 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 374 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

Definition at line 408 of file IngestSearchRunner.java.

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

Definition at line 404 of file IngestSearchRunner.java.

boolean org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.isWorkerRunning ( )
private
void org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.searchNotify ( )
private

Unset workerRunning and wake up thread(s) waiting on finalSearchLock

Definition at line 430 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

In case this job still has a worker running, wait for it to finish

Exceptions
InterruptedException

Definition at line 417 of file IngestSearchRunner.java.

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

Member Data Documentation

Map<Keyword, Set<Long> > org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.currentResults
private

Definition at line 343 of file IngestSearchRunner.java.

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
List<String> org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.keywordListNames
private
AtomicLong org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.moduleReferenceCount = new AtomicLong(0)
private

Definition at line 345 of file IngestSearchRunner.java.

volatile boolean org.sleuthkit.autopsy.keywordsearch.IngestSearchRunner.SearchJobInfo.workerRunning
private

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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.