ariba.ui.aribaweb.util
Class AWCheckoutManager
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.util.AWCheckoutManager
- All Implemented Interfaces:
- AWObject
public final class AWCheckoutManager
- extends AWBaseObject
This class implements a check out mechanism that allows
threads to do an exclusive "checkout" on a key value.
Threads that attempt to check out a key value that is already checked
out will wait until the key is checked back in and available.
Threads that have waited beyond the timeout period will throw an exception.
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 |
AWCheckoutManager
public AWCheckoutManager(java.lang.String instanceName)
setMaxWaitingThreads
public void setMaxWaitingThreads(int maxWaitingThreadsPerKey)
maxWaitingThreads
public int maxWaitingThreads()
setMaxThreadWaitMillis
public void setMaxThreadWaitMillis(long maxThreadWaitMillis)
maxThreadWaitMillis
public long maxThreadWaitMillis()
checkin
public void checkin(java.lang.Object key)
checkout
public void checkout(java.lang.Object key)
isCheckedOut
public boolean isCheckedOut(java.lang.Object key)
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.