Package org.alfresco.filesys.repo
Interface LockKeeper
- All Known Implementing Classes:
LockKeeperImpl
public interface LockKeeper
The lock keeper tracks multiple locks on files open via the file system protocols.
There can be multiple locks on the same file, the lock keeper keeps track of the individual locks and delegates to the LockService
- Author:
- mrogers
-
Method Summary
Modifier and TypeMethodDescriptionvoidTransactional method to make a lock on the specified node ref.voidvoidremoveLock(NodeRef nodeRef) Transactional method to remove a lock on the specified node ref.
-
Method Details
-
addLock
Transactional method to make a lock on the specified node ref.- Parameters:
nodeRef-
-
removeLock
Transactional method to remove a lock on the specified node ref.- Parameters:
nodeRef-
-
refreshAllLocks
void refreshAllLocks()
-