org.logicblaze.lingo.lock
Interface LockManager
- All Superinterfaces:
- org.apache.activemq.Service
- All Known Implementing Classes:
- NonDeadlockLockManager
public interface LockManager
- extends org.apache.activemq.Service
Represents the interface of a distributed lock manager. Nodes can acquire locks
which are leased. If the LockManager fails then another lock manager is chosen to take its place
and the locks are resumed.
- Version:
- $Revision$
Method Summary |
edu.emory.mathcs.backport.java.util.concurrent.locks.ReadWriteLock |
getLock(java.lang.String id)
Gets hold of the read/write lock for the given ID |
Methods inherited from interface org.apache.activemq.Service |
start, stop |
getLock
edu.emory.mathcs.backport.java.util.concurrent.locks.ReadWriteLock getLock(java.lang.String id)
- Gets hold of the read/write lock for the given ID
- Parameters:
id
- is the unique ID of the lock to acquire
- Returns:
Copyright © 2011 LogicBlaze, Inc.. All Rights Reserved.