Autopsy  4.0
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

Member Function Documentation

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

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

true if OK, false otherwise

Definition at line 222 of file

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 ( )

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

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)

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

currentCaseThe current case.

Definition at line 164 of file

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

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

free space in bytes

Definition at line 244 of file

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 ( )
void org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.logMonitoredRootDirectory ( )

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

Definition at line 179 of file

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
File org.sleuthkit.autopsy.ingest.IngestMonitor.MonitorTimerAction.root

Definition at line 120 of file

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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.