- All Implemented Interfaces:
public final class AWRecursiveLock
- extends AWBaseObject
AWRecursiveLock allows for blocking access to a block of code to all threads but the first one to grab access. Once a thread locks this lock, it can continue running and lock it as many times as necessary (a count is incremented keeping track of the number of times). Of course, it must balance the number of calls to lock with calls to unlock else a deadlock will occur.
|Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber
|Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void lock()
public void unlock()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.