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.
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.
maxRunTimeInSeconds Maximum allowable run time of process.
Definition at line 51 of file FileIngestModuleProcessTerminator.java.
Constructs a process terminator for a file ingest module. Adds ability to use global process termination time out.
useGlobalTimeOut Flag whether to use global process termination timeout.
Definition at line 64 of file FileIngestModuleProcessTerminator.java.
Definition at line 92 of file FileIngestModuleProcessTerminator.java.
Decides whether or not to terminate a process being run by a ExcUtil.execute() methods.
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.
Definition at line 31 of file FileIngestModuleProcessTerminator.java.
Definition at line 33 of file FileIngestModuleProcessTerminator.java.
Definition at line 32 of file FileIngestModuleProcessTerminator.java.
Referenced by org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.FileIngestModuleProcessTerminator(), and org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator.shouldTerminateProcess().