Autopsy  4.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.DataSourceIngestModuleProcessTerminator Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.DataSourceIngestModuleProcessTerminator ( IngestJobContext  context)

Constructs a process terminator for a data source ingest module.

Parameters
contextThe 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.

Parameters
contextThe ingest job context for the ingest module.
maxRunTimeInSecondsMaximum 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.

Parameters
contextThe ingest job context for the ingest module.
useGlobalTimeOutFlag whether to use global process termination timeout.

Definition at line 65 of file DataSourceIngestModuleProcessTerminator.java.

References org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.context.

Member Function Documentation

ProcTerminationCode org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.getTerminationCode ( )

Returns process termination code.

Returns
ProcTerminationCode 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 ( )

Member Data Documentation

final IngestJobContext org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.context
private
ProcTerminationCode org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.terminationCode
private
TimedProcessTerminator org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.timedTerminator
private

Definition at line 33 of file DataSourceIngestModuleProcessTerminator.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.