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 | |
TimedProcessTerminator (long maxRunTimeInSeconds) | |
TimedProcessTerminator () | |
boolean | shouldTerminateProcess () |
Private Attributes | |
final long | maxRunTimeInSeconds |
final long | startTimeInSeconds |
Process terminator that can be used to kill a processes after it exceeds a maximum allowable run time.
Definition at line 65 of file ExecUtil.java.
org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.TimedProcessTerminator | ( | long | maxRunTimeInSeconds | ) |
Creates a process terminator that can be used to kill a process after it has run for a given period of time.
maxRunTimeInSeconds | The maximum allowable run time in seconds. |
Definition at line 76 of file ExecUtil.java.
References org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.maxRunTimeInSeconds.
org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.TimedProcessTerminator | ( | ) |
Creates a process terminator that can be used to kill a process after it has run for a given period of time. Maximum allowable run time is set via Autopsy Options panel. If the process termination functionality is disabled then the maximum allowable time is set to MAX_INT seconds.
Definition at line 88 of file ExecUtil.java.
References org.sleuthkit.autopsy.core.UserPreferences.getIsTimeOutEnabled(), and org.sleuthkit.autopsy.core.UserPreferences.getProcessTimeOutHrs().
boolean org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.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 100 of file ExecUtil.java.
References org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.maxRunTimeInSeconds.
Referenced by org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.shouldTerminateProcess().
|
private |
Definition at line 68 of file ExecUtil.java.
Referenced by org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.shouldTerminateProcess(), and org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.TimedProcessTerminator().
|
private |
Definition at line 67 of file ExecUtil.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.