Package com.google.gerrit.server.project
Interface ProjectNameLockManager
- 
- All Known Implementing Classes:
 DefaultProjectNameLockManager
public interface ProjectNameLockManagerA 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LockgetLock(Project.NameKey name) 
 - 
 
- 
- 
Method Detail
- 
getLock
Lock getLock(Project.NameKey name)
 
 - 
 
 -