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

Public Member Functions

 SearchJobInfo (long jobId, long dataSourceId, List< String > keywordListNames)
 
synchronized void addKeywordListName (String keywordListName)
 
synchronized void addKeywordResults (Keyword k, List< Long > resultsIDs)
 
synchronized List< 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, List< 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 256 of file SearchRunner.java.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 289 of file SearchRunner.java.

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

Definition at line 319 of file SearchRunner.java.

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

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

Definition at line 343 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)
void org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.setWorkerRunning ( boolean  flag)
void org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.waitForCurrentWorker ( ) throws InterruptedException

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

Exceptions
InterruptedException

Definition at line 332 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, List<Long> > org.sleuthkit.autopsy.keywordsearch.SearchRunner.SearchJobInfo.currentResults
private

Definition at line 263 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 265 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-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.