Autopsy
4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
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() |
Runs a list of swing workers in sequential order. Also, provides the ability to reset or cancel a run.
Based on: https://stackoverflow.com/questions/31580805/java-swingworker-one-after-another-and-update-gui
Definition at line 37 of file SwingWorkerSequentialExecutor.java.
synchronized void org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.cancelRunning | ( | ) |
Cancels currently running items.
Definition at line 69 of file SwingWorkerSequentialExecutor.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.submit().
synchronized boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.isRunning | ( | ) |
Returns whether or not any of the workers provided are still running.
Definition at line 80 of file SwingWorkerSequentialExecutor.java.
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.
submittedWorkers | The list of submitted swing workers. |
Definition at line 49 of file SwingWorkerSequentialExecutor.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.SwingWorkerSequentialExecutor.cancelRunning().
|
private |
Definition at line 39 of file SwingWorkerSequentialExecutor.java.
|
private |
Definition at line 41 of file SwingWorkerSequentialExecutor.java.
|
private |
Definition at line 40 of file SwingWorkerSequentialExecutor.java.
Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.