Autopsy  4.16.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 logDiskSpaceUsage ()
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 124 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 237 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 151 of file

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), 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 171 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 259 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.logDiskSpaceUsage ( )

Writes current disk space usage of the drive where case dir resides to log.

Definition at line 226 of file

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 186 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 127 of file

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

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