org.apache.ojb.otm.lock.wait
Interface LockWaitStrategy

All Known Implementing Classes:
NoWaitStrategy, TimeoutStrategy

public interface LockWaitStrategy

LockWaitStrategy is responsible for waiting for a particular lock to be released. Typically, the LockWaitStrategy implements deadlock prevention/detection/recovery mechanisms.

Author:
Raghu Rajah

Method Summary
 void waitForLock(ObjectLock lock, Transaction tx)
           
 

Method Detail

waitForLock

void waitForLock(ObjectLock lock,
                 Transaction tx)
                 throws LockingException
Parameters:
lock - The lock that the tx is waiting for
tx - The waiting tx
Throws:
LockingException


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.