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

Public Member Functions

synchronized void cancelRunning ()
synchronized boolean isRunning ()
synchronized void submit (List<?extends SwingWorker<?,?>> submittedWorkers)

Private Attributes

final ExecutorService executorService = Executors.newFixedThreadPool(1)
List< Future<?> > futures = Collections.emptyList()
List<?extends SwingWorker<?,?> > workers = Collections.emptyList()

Detailed Description

Runs a list of swing workers in sequential order. Also, provides the ability to reset or cancel a run.

Based on:

Definition at line 37 of file

Member Function Documentation

synchronized void org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.cancelRunning ( )
synchronized boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.isRunning ( )

Returns whether or not any of the workers provided are still running.

Whether or not any of the submitted workers are still running.

Definition at line 80 of file

synchronized void org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.submit ( List<?extends SwingWorker<?,?>>  submittedWorkers)

Cancels currently running operations and starts running the new list of swing workers.

submittedWorkersThe list of submitted swing workers.

Definition at line 49 of file

References org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.cancelRunning().

Member Data Documentation

final ExecutorService org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.executorService = Executors.newFixedThreadPool(1)

Definition at line 39 of file

List<Future<?> > org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.futures = Collections.emptyList()

Definition at line 41 of file

List<? extends SwingWorker<?, ?> > org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.workers = Collections.emptyList()

Definition at line 40 of file

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

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