mnemosyne.lock
Class NullLock

java.lang.Object
  |
  +--mnemosyne.lock.NullLock
All Implemented Interfaces:
Lock

public class NullLock
extends java.lang.Object
implements Lock

Version:
$Id: NullLock.java,v 1.2 2004/08/12 14:01:06 charlesblaxland Exp $

Constructor Summary
NullLock()
           
 
Method Summary
 void acquireReadLock(Transaction transaction)
           
 void acquireWriteLock(Transaction transaction)
           
 void releaseLock(Transaction transaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullLock

public NullLock()
Method Detail

acquireReadLock

public void acquireReadLock(Transaction transaction)
                     throws DeadlockException,
                            LockFailedException
Specified by:
acquireReadLock in interface Lock
DeadlockException
LockFailedException

acquireWriteLock

public void acquireWriteLock(Transaction transaction)
                      throws DeadlockException,
                             LockFailedException
Specified by:
acquireWriteLock in interface Lock
DeadlockException
LockFailedException

releaseLock

public void releaseLock(Transaction transaction)
Specified by:
releaseLock in interface Lock


Copyright © 2004 Charles Blaxland. All Rights Reserved.