Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils Class Reference

Static Public Member Functions

static String getCaseAutoIngestLogNodePath (Path caseDirectoryPath)
 
static String getCaseDirectoryNodePath (Path caseDirectoryPath)
 
static String getCaseNameNodePath (Path caseDirectoryPath)
 
static String getCaseResourcesNodePath (Path caseDirectoryPath)
 
static boolean isCaseAutoIngestLogNodePath (String nodePath)
 
static boolean isCaseNameNodePath (String nodePath)
 
static boolean isCaseResourcesNodePath (String nodePath)
 

Private Member Functions

 CoordinationServiceUtils ()
 

Static Private Attributes

static final String CASE_AUTO_INGEST_LOG_NAME = "AUTO_INGEST_LOG.TXT"
 
static final String RESOURCES_LOCK_SUFFIX = "_RESOURCES"
 

Detailed Description

Utility methods for using the coordination service for multi-user cases.

Definition at line 28 of file CoordinationServiceUtils.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.CoordinationServiceUtils ( )
private

Prevents instantiation of this uitlity class.

Definition at line 130 of file CoordinationServiceUtils.java.

Member Function Documentation

static String org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.getCaseAutoIngestLogNodePath ( Path  caseDirectoryPath)
static

Gets the path of the case auto ingest log coordination service node for a case. This coordination service node is used for serializing case auto ingest log writes.

Parameters
caseDirectoryPathThe case directory path.
Returns
The case auto ingest log coordination service node path.

Definition at line 54 of file CoordinationServiceUtils.java.

References org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.CASE_AUTO_INGEST_LOG_NAME.

static String org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.getCaseDirectoryNodePath ( Path  caseDirectoryPath)
static

Gets the path of the case directory coordination service node for a case. This coordination service node is used for locking the case directory and for storing data about the case.

Parameters
caseDirectoryPathThe case directory path.
Returns
The case directory coordination service node path.

Definition at line 67 of file CoordinationServiceUtils.java.

Referenced by org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCase().

static String org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.getCaseNameNodePath ( Path  caseDirectoryPath)
static

Gets the path of the case name coordination service node for a case. This coordination service node is used to lock the case name so that only one node at a time can create a case with a particular name.

Parameters
caseDirectoryPathThe case directory path.
Returns
The case name coordination service node path.

Definition at line 80 of file CoordinationServiceUtils.java.

References org.sleuthkit.autopsy.coreutils.TimeStampUtils.endsWithTimeStamp(), and org.sleuthkit.autopsy.coreutils.TimeStampUtils.removeTimeStamp().

static String org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.getCaseResourcesNodePath ( Path  caseDirectoryPath)
static

Gets the path of the case resources coordination service node for a case. This coordiantion service node is used for case resource locking.

Parameters
caseDirectoryPathThe case directory path.
Returns
The case resources coordination service node path.

Definition at line 41 of file CoordinationServiceUtils.java.

References org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.RESOURCES_LOCK_SUFFIX.

Referenced by org.sleuthkit.autopsy.casemodule.Case.acquireCaseResourcesLock(), and org.sleuthkit.autopsy.casemodule.Case.deleteMultiUserCase().

static boolean org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.isCaseAutoIngestLogNodePath ( String  nodePath)
static

Determines whether or not a coordination service node path is a case auto ingest node path.

Parameters
nodePathThe node path.
Returns
True or false.

Definition at line 99 of file CoordinationServiceUtils.java.

static boolean org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.isCaseNameNodePath ( String  nodePath)
static

Determines whether or not a coordination service node path is a case name node path.

Parameters
nodePathThe node path.
Returns
True or false.

Definition at line 123 of file CoordinationServiceUtils.java.

static boolean org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.isCaseResourcesNodePath ( String  nodePath)
static

Determines whether or not a coordination service node path is a case resources node path.

Parameters
nodePathThe node path.
Returns
True or false.

Definition at line 111 of file CoordinationServiceUtils.java.

Member Data Documentation

final String org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.CASE_AUTO_INGEST_LOG_NAME = "AUTO_INGEST_LOG.TXT"
staticprivate
final String org.sleuthkit.autopsy.casemodule.multiusercases.CoordinationServiceUtils.RESOURCES_LOCK_SUFFIX = "_RESOURCES"
staticprivate

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

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