directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r354380 - /directory/network/trunk/src/java/org/apache/mina/common/IoFuture.java
Date Tue, 06 Dec 2005 09:00:59 GMT
Author: trustin
Date: Tue Dec  6 01:00:55 2005
New Revision: 354380

URL: http://svn.apache.org/viewcvs?rev=354380&view=rev
Log:
Added IoFuture.getLock()

Modified:
    directory/network/trunk/src/java/org/apache/mina/common/IoFuture.java

Modified: directory/network/trunk/src/java/org/apache/mina/common/IoFuture.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/common/IoFuture.java?rev=354380&r1=354379&r2=354380&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/common/IoFuture.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/common/IoFuture.java Tue Dec  6 01:00:55
2005
@@ -69,6 +69,14 @@
     }
     
     /**
+     * Returns the lock object this future acquires.
+     */
+    public Object getLock()
+    {
+        return lock;
+    }
+    
+    /**
      * Wait for the asynchronous operation to end.
      */
     public void join()



Mime
View raw message