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 | |
DataSourceIngestModuleProcessTerminator (IngestJobContext context) | |
DataSourceIngestModuleProcessTerminator (IngestJobContext context, long maxRunTimeInSeconds) | |
DataSourceIngestModuleProcessTerminator (IngestJobContext context, boolean useGlobalTimeOut) | |
ProcTerminationCode | getTerminationCode () |
boolean | shouldTerminateProcess () |
Private Attributes | |
final IngestJobContext | context |
ProcTerminationCode | terminationCode |
TimedProcessTerminator | timedTerminator |
A process terminator for data source ingest modules that checks for ingest job cancellation and optionally checks for process run time in excess of a specified maximum.
Definition at line 30 of file DataSourceIngestModuleProcessTerminator.java.
org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.DataSourceIngestModuleProcessTerminator | ( | IngestJobContext | context | ) |
Constructs a process terminator for a data source ingest module.
context | The ingest job context for the ingest module. |
Definition at line 41 of file DataSourceIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.context, and org.sleuthkit.autopsy.ingest.ProcTerminationCode.NONE.
org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.DataSourceIngestModuleProcessTerminator | ( | IngestJobContext | context, |
long | maxRunTimeInSeconds | ||
) |
Constructs a process terminator for a data source ingest module.
context | The ingest job context for the ingest module. |
maxRunTimeInSeconds | Maximum allowable run time of process. |
Definition at line 52 of file DataSourceIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.context.
org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.DataSourceIngestModuleProcessTerminator | ( | IngestJobContext | context, |
boolean | useGlobalTimeOut | ||
) |
Constructs a process terminator for a data source 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 65 of file DataSourceIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.context.
ProcTerminationCode org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.getTerminationCode | ( | ) |
Returns process termination code.
Definition at line 93 of file DataSourceIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.terminationCode.
boolean org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.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 73 of file DataSourceIngestModuleProcessTerminator.java.
References org.sleuthkit.autopsy.ingest.ProcTerminationCode.CANCELATION, org.sleuthkit.autopsy.ingest.IngestJobContext.dataSourceIngestIsCancelled(), org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.shouldTerminateProcess(), and org.sleuthkit.autopsy.ingest.ProcTerminationCode.TIME_OUT.
|
private |
Definition at line 32 of file DataSourceIngestModuleProcessTerminator.java.
Referenced by org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.DataSourceIngestModuleProcessTerminator().
|
private |
Definition at line 34 of file DataSourceIngestModuleProcessTerminator.java.
Referenced by org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.getTerminationCode().
|
private |
Definition at line 33 of file DataSourceIngestModuleProcessTerminator.java.
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.