Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction Class Reference

Inherits ActionListener.

Public Member Functions

void actionPerformed (ActionEvent e)
 

Private Member Functions

boolean enoughDiskSpace ()
 
void findRootDirectoryForCurrentCase ()
 
void findRootDirectoryForCurrentCase (Case currentCase)
 
long getFreeSpace () throws SecurityException
 
void logMemoryUsage ()
 
void logMonitoredRootDirectory ()
 

Private Attributes

File root
 

Static Private Attributes

static final long MIN_FREE_DISK_SPACE = 100L * 1024 * 1024
 

Detailed Description

An action that is called every time the ingest monitor's timer expires. It does the actual monitoring.

Definition at line 117 of file IngestMonitor.java.

Member Function Documentation

void org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.actionPerformed ( ActionEvent  e)
boolean org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.enoughDiskSpace ( )
private

Determines whether there is enough disk space to continue running ingest.

Returns
true if OK, false otherwise

Definition at line 222 of file IngestMonitor.java.

References org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.getFreeSpace(), and org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.MIN_FREE_DISK_SPACE.

Referenced by org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.actionPerformed().

void org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.findRootDirectoryForCurrentCase ( )
private

Determines the root directory of the case folder for the current case and sets it as the directory to monitor.

Definition at line 144 of file IngestMonitor.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.logMonitoredRootDirectory().

void org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.findRootDirectoryForCurrentCase ( Case  currentCase)
private

Determines the root directory of the case folder for the current case and sets it as the directory to monitor.

Parameters
currentCaseThe current case.

Definition at line 164 of file IngestMonitor.java.

References org.sleuthkit.autopsy.casemodule.Case.getCaseDirectory(), and org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.logMonitoredRootDirectory().

long org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.getFreeSpace ( ) throws SecurityException
private

Get free space in bytes of the drive where case dir resides, or -1 if unknown

Returns
free space in bytes

Definition at line 244 of file IngestMonitor.java.

References org.sleuthkit.autopsy.ingest.IngestMonitor.DISK_FREE_SPACE_UNKNOWN.

Referenced by org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.enoughDiskSpace().

void org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.logMemoryUsage ( )
private
void org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.logMonitoredRootDirectory ( )
private

Writes an info message to the Autopsy log identifying the root directory being monitored.

Definition at line 179 of file IngestMonitor.java.

Referenced by org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.findRootDirectoryForCurrentCase().

Member Data Documentation

final long org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.MIN_FREE_DISK_SPACE = 100L * 1024 * 1024
staticprivate
File org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.root
private

Definition at line 120 of file IngestMonitor.java.


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

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