Autopsy
4.19.3
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 |
A process terminator that can be used to kill a process after it exceeds a maximum allowable run time.
Definition at line 81 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 exceeds a maximum allowable run time.
maxRunTimeInSeconds | The maximum allowable run time in seconds. |
Definition at line 92 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 exceeds a global maximum allowable run time specified as a user preference. If the user preference is not set, this terminator has no effect.
Definition at line 103 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 an ExecUtil method.
Implements org.sleuthkit.autopsy.coreutils.ExecUtil.ProcessTerminator.
Definition at line 113 of file ExecUtil.java.
References org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.maxRunTimeInSeconds.
Referenced by org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProcessTerminator.shouldTerminateProcess().
|
private |
Definition at line 84 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 83 of file ExecUtil.java.
Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.