Autopsy  4.18.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.IngestTasksScheduler.IngestTaskTrackingQueue Class Reference

Inherits org.sleuthkit.autopsy.ingest.BlockingIngestTaskQueue.

Public Member Functions

IngestTask getNextTask () throws InterruptedException
 

Private Attributes

final List< IngestTask > queuedTasks = new LinkedList<>()
 
final BlockingDeque< IngestTask > taskQueue = new LinkedBlockingDeque<>()
 
final List< IngestTask > tasksInProgress = new LinkedList<>()
 

Detailed Description

A blocking ingest task queue for the ingest manager's ingest threads that keeps tracks of the tasks that are queued and in progress.

Definition at line 797 of file IngestTasksScheduler.java.

Member Function Documentation

IngestTask org.sleuthkit.autopsy.ingest.IngestTasksScheduler.IngestTaskTrackingQueue.getNextTask ( ) throws InterruptedException

Gets the next ingest task in the queue, blocking if the queue is empty.

Returns
The next ingest task in the queue.
Exceptions
InterruptedExceptionIf the thread getting the task is interrupted while blocked on a queue empty condition.

Definition at line 864 of file IngestTasksScheduler.java.

References org.sleuthkit.autopsy.ingest.IngestTasksScheduler.IngestTaskTrackingQueue.queuedTasks, and org.sleuthkit.autopsy.ingest.IngestTasksScheduler.IngestTaskTrackingQueue.tasksInProgress.

Member Data Documentation

final List<IngestTask> org.sleuthkit.autopsy.ingest.IngestTasksScheduler.IngestTaskTrackingQueue.queuedTasks = new LinkedList<>()
private
final BlockingDeque<IngestTask> org.sleuthkit.autopsy.ingest.IngestTasksScheduler.IngestTaskTrackingQueue.taskQueue = new LinkedBlockingDeque<>()
private

Definition at line 799 of file IngestTasksScheduler.java.

final List<IngestTask> org.sleuthkit.autopsy.ingest.IngestTasksScheduler.IngestTaskTrackingQueue.tasksInProgress = new LinkedList<>()
private

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

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