Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.coreutils.ExecUtil.ProcessTerminator.
Public Member Functions | |
FileIngestModuleProcessTerminator (IngestJobContext context) | |
FileIngestModuleProcessTerminator (IngestJobContext context, long maxRunTimeInSeconds) | |
FileIngestModuleProcessTerminator (IngestJobContext context, boolean useGlobalTimeOut) | |
ProcTerminationCode | getTerminationCode () |
boolean | shouldTerminateProcess () |
Private Attributes | |
final IngestJobContext | context |
ProcTerminationCode | terminationCode |
ExecUtil.TimedProcessTerminator | timedTerminator |
A process terminator for file ingest modules that checks for ingest job cancellation and optionally checks for process run time in excess of a specified maximum.
Definition at line 29 of file FileIngestModuleProcessTerminator.java.
org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.FileIngestModuleProcessTerminator | ( | IngestJobContext | context | ) |
Constructs a process terminator for a file ingest module.
context | The ingest job context for the ingest module. |
Definition at line 40 of file FileIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.context, and org.sleuthkit.autopsy.ingest.ProcTerminationCode.NONE.
org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.FileIngestModuleProcessTerminator | ( | IngestJobContext | context, |
long | maxRunTimeInSeconds | ||
) |
Constructs a process terminator for a file ingest module.
context | The ingest job context for the ingest module. |
maxRunTimeInSeconds | Maximum allowable run time of process. |
Definition at line 51 of file FileIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.context, and org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.timedTerminator.
org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.FileIngestModuleProcessTerminator | ( | IngestJobContext | context, |
boolean | useGlobalTimeOut | ||
) |
Constructs a process terminator for a file ingest module. Adds ability to use global process termination time out.
context | The ingest job context for the ingest module. |
useGlobalTimeOut | Flag whether to use global process termination timeout. |
Definition at line 64 of file FileIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.context, and org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.timedTerminator.
ProcTerminationCode org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.getTerminationCode | ( | ) |
Returns process termination code.
Definition at line 92 of file FileIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.terminationCode.
boolean org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.shouldTerminateProcess | ( | ) |
Decides whether or not to terminate a process being run by a ExcUtil.execute() methods.
Implements org.sleuthkit.autopsy.coreutils.ExecUtil.ProcessTerminator.
Definition at line 72 of file FileIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.ProcTerminationCode.CANCELATION, org.sleuthkit.autopsy.ingest.IngestJobContext.fileIngestIsCancelled(), org.sleuthkit.autopsy.ingest.ProcTerminationCode.TIME_OUT, and org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.timedTerminator.
|
private |
Definition at line 31 of file FileIngestModuleProcessTerminator.java.
Referenced by org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.FileIngestModuleProcessTerminator().
|
private |
Definition at line 33 of file FileIngestModuleProcessTerminator.java.
Referenced by org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.getTerminationCode().
|
private |
Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.