org.apache.avalon.excalibur.concurrent
Class Lock

java.lang.Object
  |
  +--org.apache.avalon.excalibur.concurrent.Lock

Deprecated. use the Mutex class instead

public class Lock
extends java.lang.Object

A class to perform a blocking lock.

Since:
4.0
Version:
CVS $Revision: 1.4 $ $Date: 2001/12/14 03:30:47 $
Author:
Federico Barbieri, Berin Loritsch

Constructor Summary
Lock()
          Deprecated.  
 
Method Summary
 void lock()
          Deprecated. Locks.
 void unlock()
          Deprecated. Unlocks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lock

public Lock()
Deprecated. 
Method Detail

lock

public final void lock()
                throws java.lang.InterruptedException
Deprecated. 
Locks.

unlock

public final void unlock()
Deprecated. 
Unlocks.


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.