Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.coordinationservice.CoordinationService.Lock Class Reference

Inherits AutoCloseable.

Public Member Functions

void close () throws CoordinationServiceException
String getNodePath ()
void release () throws CoordinationServiceException

Private Member Functions

 Lock (String nodePath, InterProcessMutex lock)

Private Attributes

final InterProcessMutex interProcessLock
final String nodePath

Detailed Description

An opaque encapsulation of a lock for use in distributed synchronization. Instances are obtained by calling a get lock method and must be passed to a release lock method.

Definition at line 434 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.coordinationservice.CoordinationService.Lock.Lock ( String  nodePath,
InterProcessMutex  lock 

Member Function Documentation

void org.sleuthkit.autopsy.coordinationservice.CoordinationService.Lock.close ( ) throws CoordinationServiceException
String org.sleuthkit.autopsy.coordinationservice.CoordinationService.Lock.getNodePath ( )
void org.sleuthkit.autopsy.coordinationservice.CoordinationService.Lock.release ( ) throws CoordinationServiceException

Member Data Documentation

final InterProcessMutex org.sleuthkit.autopsy.coordinationservice.CoordinationService.Lock.interProcessLock

This implementation uses the Curator read/write lock. see

Definition at line 440 of file

final String org.sleuthkit.autopsy.coordinationservice.CoordinationService.Lock.nodePath

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

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.