ozeigermann    2004/10/31 02:12:40

  Modified:    transaction/src/java/org/apache/commons/transaction/locking
                        GenericLock.java
  Log:
  Minor Javadoc addition
  
  Revision  Changes    Path
  1.7       +12 -5     
jakarta-commons-sandbox/transaction/src/java/org/apache/commons/transaction/locking/GenericLock.java
  
  Index: GenericLock.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/transaction/src/java/org/apache/commons/transaction/locking/GenericLock.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- GenericLock.java  31 Oct 2004 10:11:56 -0000      1.6
  +++ GenericLock.java  31 Oct 2004 10:12:40 -0000      1.7
  @@ -135,7 +135,14 @@
        * 
        * @param ownerId a unique id identifying the entity that wants to acquire a 
certain lock level on this lock
        * @param targetLockLevel the lock level to acquire
  -     * @param reentrant <code>true</code> if lock levels of the same entity 
acquired earlier 
  +     * @param compatibility 
  +     *            [EMAIL PROTECTED] #COMPATIBILITY_NONE} if no additional 
compatibility is
  +     *            desired (same as reentrant set to false) ,
  +     *            [EMAIL PROTECTED] #COMPATIBILITY_REENTRANT} if lock level by the 
same
  +     *            owner shall not affect compatibility (same as reentrant set to
  +     *            true), or [EMAIL PROTECTED] #COMPATIBILITY_SUPPORT} if lock 
levels that
  +     *            are the same as the desired shall not affect compatibility, or 
finally
  +     * [EMAIL PROTECTED] #COMPATIBILITY_REENTRANT_AND_SUPPORT} which is a 
combination of reentrant and support
        * @return <code>true</code> if the lock could be acquired acquired at the time 
this method
        * was called
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to