public class FuseReadWriteLockManager extends Object
Constructor and Description |
---|
FuseReadWriteLockManager()
Constructs a new
FuseReadWriteLockManager . |
Modifier and Type | Method and Description |
---|---|
CloseableResource<Lock> |
tryLock(String path,
LockMode mode)
Tries to lock the given poth with read/write mode.
|
public FuseReadWriteLockManager()
FuseReadWriteLockManager
.public CloseableResource<Lock> tryLock(String path, LockMode mode)
path
- the path to lockmode
- the lock modeCopyright © 2023. All Rights Reserved.