org.apache.ojb.otm.lock.wait
Class NoWaitStrategy

java.lang.Object
  extended byorg.apache.ojb.otm.lock.wait.NoWaitStrategy
All Implemented Interfaces:
LockWaitStrategy

public class NoWaitStrategy
extends java.lang.Object
implements LockWaitStrategy

Author:
Raghu Rajah

Constructor Summary
NoWaitStrategy()
           
 
Method Summary
 void waitForLock(ObjectLock lock, Transaction tx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoWaitStrategy

public NoWaitStrategy()
Method Detail

waitForLock

public void waitForLock(ObjectLock lock,
                        Transaction tx)
                 throws LockingException
Specified by:
waitForLock in interface LockWaitStrategy
Parameters:
lock - The lock that the tx is waiting for
tx - The waiting tx
Throws:
LockingException
See Also:
LockWaitStrategy.waitForLock(ObjectLock, Transaction)


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14