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

Public Member Functions

synchronized long decrementAndGet (long jobId)
 
synchronized long get (long jobId)
 
synchronized long incrementAndGet (long jobId)
 

Private Attributes

HashMap< Long, Long > moduleRefCount = new HashMap<>()
 

Detailed Description

A utility class that modules can use to keep track of whether they are the first/last instance for a particular job.

An instance of this should be static in your module class.

Definition at line 29 of file IngestModuleReferenceCounter.java.

Member Function Documentation

synchronized long org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.decrementAndGet ( long  jobId)
synchronized long org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.get ( long  jobId)

Definition at line 35 of file IngestModuleReferenceCounter.java.

synchronized long org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.incrementAndGet ( long  jobId)

Member Data Documentation

HashMap<Long, Long> org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.moduleRefCount = new HashMap<>()
private

Definition at line 33 of file IngestModuleReferenceCounter.java.


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

Copyright © 2012-2020 Basis Technology. Generated on: Wed Apr 8 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.