org.logicblaze.lingo.lock
Interface LockManager

All Known Implementing Classes:
NonDeadlockLockManager

public interface LockManager

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: 1.1 $

Method Summary
 edu.emory.mathcs.backport.java.util.concurrent.locks.ReadWriteLock getLock(String id)
          Gets hold of the read/write lock for the given ID
 

Method Detail

getLock

edu.emory.mathcs.backport.java.util.concurrent.locks.ReadWriteLock getLock(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 © 2005-2006 LogicBlaze, Inc.. All Rights Reserved.