Autopsy  3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator Class Reference

Inherits org.sleuthkit.autopsy.coreutils.ExecUtil.ProcessTerminator.

Public Member Functions

 TimedProcessTerminator (long maxRunTimeInSeconds)
 
boolean shouldTerminateProcess ()
 

Private Attributes

final long startTimeInSeconds
 
final long maxRunTimeInSeconds
 

Detailed Description

Process terminator that can be used to kill a processes after it exceeds a maximum allowable run time.

Definition at line 61 of file ExecUtil.java.

Constructor & Destructor Documentation

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.

Parameters
maxRunTimeInSecondsThe maximum allowable run time in seconds.

Definition at line 72 of file ExecUtil.java.

References org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.maxRunTimeInSeconds.

Member Function Documentation

boolean org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.shouldTerminateProcess ( )

Member Data Documentation

final long org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.maxRunTimeInSeconds
private
final long org.sleuthkit.autopsy.coreutils.ExecUtil.TimedProcessTerminator.startTimeInSeconds
private

Definition at line 63 of file ExecUtil.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.