Package com.google.gerrit.server.project
Interface ProjectNameLockManager
- All Known Implementing Classes:
DefaultProjectNameLockManager
public interface ProjectNameLockManager
A per-repo lock mechanism.
This ensures that project creation (repo creation, config creation, first commit) is atomic, and can be used to separate creation and deletion in the delete-project plugin.
This is an interface because distributed setup may need something beyond an in-memory lock.
-
Method Summary
-
Method Details
-
getLock
-