Author: jstrachan
Date: Thu Jul 24 12:06:14 2008
New Revision: 679498
URL: http://svn.apache.org/viewvc?rev=679498&view=rev
Log:
fixed up javadoc
Modified:
activemq/sandbox/zookeeper/zookeeper-protocols/src/main/java/org/apache/zookeeper/protocols/WriteLockProtocol.java
Modified: activemq/sandbox/zookeeper/zookeeper-protocols/src/main/java/org/apache/zookeeper/protocols/WriteLockProtocol.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/zookeeper/zookeeper-protocols/src/main/java/org/apache/zookeeper/protocols/WriteLockProtocol.java?rev=679498&r1=679497&r2=679498&view=diff
==============================================================================
--- activemq/sandbox/zookeeper/zookeeper-protocols/src/main/java/org/apache/zookeeper/protocols/WriteLockProtocol.java
(original)
+++ activemq/sandbox/zookeeper/zookeeper-protocols/src/main/java/org/apache/zookeeper/protocols/WriteLockProtocol.java
Thu Jul 24 12:06:14 2008
@@ -34,8 +34,8 @@
* <p/>
* You invoke {@link #acquire()} to start the process of grabbing the lock; you may get the
lock then or it may be some time later.
* <p/>
- * You can register a Runnable so that you are invoked when you get the lock; otherwise you
can ask if you have the lock
- * by calling {@link #isIDTheOwnerID()}
+ * You can register a {@link WhenOwnerListener} so that you are invoked when you get the
lock or when you loose ownership of it; otherwise you can ask if you have the lock
+ * by calling {@link #isOwner()}
*
* @version $Revision: 1.1 $
*/
|