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

Private Member Functions

 SearchJobInfo (long jobId, long dataSourceId, 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 SearchRunner.Searcher getCurrentSearcher ()
 
long getDataSourceId ()
 
long getJobId ()
 
synchronized List< String > getKeywordListNames ()
 
void incrementModuleReferenceCount ()
 
boolean isWorkerRunning ()
 
void searchNotify ()
 
synchronized void setCurrentSearcher (SearchRunner.Searcher searchRunner)
 
void setWorkerRunning (boolean flag)
 
void waitForCurrentWorker () throws InterruptedException
 

Private Attributes

Map< Keyword, Set< Long > > currentResults
 
SearchRunner.Searcher currentSearcher
 
final long dataSourceId
 
final Object finalSearchLock = new Object()
 
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 263 of file SearchRunner.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.SearchJobInfo ( long  jobId,
long  dataSourceId,
List< String >  keywordListNames 
)
private

Member Function Documentation

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

Definition at line 298 of file SearchRunner.java.

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

Definition at line 328 of file SearchRunner.java.

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

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

Definition at line 352 of file SearchRunner.java.

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

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

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

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

Exceptions
InterruptedException

Definition at line 341 of file SearchRunner.java.

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

Referenced by org.sleuthkit.autopsy.keywordsearch.SearchRunner.doFinalSearch().

Member Data Documentation

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

Definition at line 272 of file SearchRunner.java.

SearchRunner.Searcher org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.currentSearcher
private
final long org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.dataSourceId
private
final Object org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.finalSearchLock = new Object()
private
final long org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.jobId
private
List<String> org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.keywordListNames
private
AtomicLong org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.moduleReferenceCount = new AtomicLong(0)
private

Definition at line 274 of file SearchRunner.java.

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

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

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