org.usergrid.locking
Interface LockManager
- All Known Implementing Classes:
- HectorLockManagerImpl, NoOpLockManagerImpl, SingleNodeLockManagerImpl, ZooKeeperLockManagerImpl
public interface LockManager
This Interface to a class responsible for distributed lock across system.
- Author:
- tnine
createLock
Lock createLock(UUID applicationId,
String... path)
throws UGLockException
- Acquires a lock on a particular path.
- Parameters:
applicationId
- application UUIDpath
- a unique path
- Throws:
UGLockException
- if the lock cannot be acquired
Copyright © 2013. All Rights Reserved.