ariba.ui.aribaweb.util
Class AWRecursiveLock
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.util.AWRecursiveLock
- All Implemented Interfaces:
- AWObject
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 |
AWRecursiveLock
public AWRecursiveLock()
lock
public void lock()
unlock
public void unlock()
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.