Package com.google.gerrit.server.project
Interface LockManager
- All Known Implementing Classes:
DefaultLockManager
public interface LockManager
A global locking mechanism.
This is an interface because distributed setup may need something beyond an in-memory lock.
A Gerrit system consisting of a single Gerrit server only needs an in-memory lock manager which is implemented by the DefaultLockManager.
A distributed setup, consisting of more than one Gerrit server, can implement a distributed lock manager that provides global locks.
-
Method Summary
-
Method Details
-
getLock
-