Author: manik.surtani(a)jboss.com
Date: 2008-06-25 09:44:32 -0400 (Wed, 25 Jun 2008)
New Revision: 6033
Modified:
core/trunk/src/main/java/org/jboss/cache/lock/IdentityLock.java
core/trunk/src/main/java/org/jboss/cache/lock/NodeLock.java
Log:
Added deprecation
Modified: core/trunk/src/main/java/org/jboss/cache/lock/IdentityLock.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/IdentityLock.java 2008-06-25 13:32:44
UTC (rev 6032)
+++ core/trunk/src/main/java/org/jboss/cache/lock/IdentityLock.java 2008-06-25 13:44:32
UTC (rev 6033)
@@ -60,8 +60,9 @@
*
* @author <a href="mailto:bela@jboss.org">Bela Ban</a> Apr 11,
2003
* @author Ben Wang July 2003
- * @version $Revision$
+ * @deprecated will be removed when we drop support for Pessimistic Locking and
Optimistic Locking
*/
+@Deprecated
@SuppressWarnings("deprecation")
public class IdentityLock implements NodeLock
{
Modified: core/trunk/src/main/java/org/jboss/cache/lock/NodeLock.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/NodeLock.java 2008-06-25 13:32:44 UTC
(rev 6032)
+++ core/trunk/src/main/java/org/jboss/cache/lock/NodeLock.java 2008-06-25 13:44:32 UTC
(rev 6033)
@@ -8,7 +8,11 @@
/**
* Interface for a lock for nodes.
+ * <p/>
+ *
+ * @deprecated will be removed when we drop support for Pessimistic Locking and
Optimistic Locking
*/
+@Deprecated
public interface NodeLock
{
Show replies by date