|
xmlBlaster 2.0.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object EDU.oswego.cs.dl.util.concurrent.ReentrantLock org.xmlBlaster.util.ReentrantLock
public final class ReentrantLock
Extends a reentrantLock of Doug Lea and adds a lock() method similar to the new java.util.concurrent.locks.ReentrantLock of JDK 1.5.
org.xmlBlaster.test.classtest.ReentrantLockTest
Field Summary |
---|
Fields inherited from class EDU.oswego.cs.dl.util.concurrent.ReentrantLock |
---|
holds_, owner_ |
Fields inherited from interface EDU.oswego.cs.dl.util.concurrent.Sync |
---|
ONE_CENTURY, ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_SECOND, ONE_WEEK, ONE_YEAR |
Constructor Summary | |
---|---|
ReentrantLock()
|
Method Summary | |
---|---|
void |
lock()
Acquires the lock, same as acquire(), but ignoring a InterruptedException. |
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.ReentrantLock |
---|
acquire, attempt, holds, release, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReentrantLock()
Method Detail |
---|
public void lock()
|
xmlBlaster 2.0.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |