xmlBlaster 2.0.0 API

org.xmlBlaster.util
Class ReentrantLock

java.lang.Object
  extended by EDU.oswego.cs.dl.util.concurrent.ReentrantLock
      extended by org.xmlBlaster.util.ReentrantLock
All Implemented Interfaces:
EDU.oswego.cs.dl.util.concurrent.Sync

public final class ReentrantLock
extends EDU.oswego.cs.dl.util.concurrent.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.

Author:
Marcel Ruff
See Also:
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

ReentrantLock

public ReentrantLock()
Method Detail

lock

public void lock()
Acquires the lock, same as acquire(), but ignoring a InterruptedException.


xmlBlaster 2.0.0 API

Copyright © 1999-2010 The xmlBlaster.org contributers.