Autopsy  4.10.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 435 of file CoordinationService.java.

Constructor & Destructor Documentation

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

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
private

This implementation uses the Curator read/write lock. see http://curator.apache.org/curator-recipes/shared-reentrant-read-write-lock.html

Definition at line 441 of file CoordinationService.java.

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

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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.