Interface LockEventListener
-
- All Known Implementing Classes:
LockManagerImpl
public interface LockEventListenerInterface used to receive information about incoming, external lock events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexternalLock(NodeId nodeId, boolean isDeep, String lockOwner)Handle an external lock operation.voidexternalUnlock(NodeId nodeId)Handle an external unlock operation.
-
-
-
Method Detail
-
externalLock
void externalLock(NodeId nodeId, boolean isDeep, String lockOwner) throws RepositoryException
Handle an external lock operation.- Parameters:
nodeId- node idisDeep-trueif the lock is deep;falseotherwiselockOwner- lock owner- Throws:
RepositoryException- if the lock cannot be processed
-
externalUnlock
void externalUnlock(NodeId nodeId) throws RepositoryException
Handle an external unlock operation.- Parameters:
nodeId- node id- Throws:
RepositoryException- if the unlock cannot be processed
-
-