[jboss-cvs] JBossCache/src/org/jboss/cache/optimistic ...
Manik Surtani
msurtani at jboss.com
Fri Dec 29 10:11:16 EST 2006
User: msurtani
Date: 06/12/29 10:11:16
Modified: src/org/jboss/cache/optimistic DataVersion.java
Log:
Added javadoc
Revision Changes Path
1.3 +8 -4 JBossCache/src/org/jboss/cache/optimistic/DataVersion.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DataVersion.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/optimistic/DataVersion.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- DataVersion.java 8 Apr 2006 20:30:08 -0000 1.2
+++ DataVersion.java 29 Dec 2006 15:11:16 -0000 1.3
@@ -12,6 +12,10 @@
* When versioning data nodes in optimistic locking, a DataVersion is assigned
* to each node. Versions need to implement the {@link #newerThan} method so
* they can be compared during the validation phase upon commit.
+ * <p/>
+ * It is recommended that implementations implement {@link java.io.Externalizable} and make use
+ * of a good marshalling/unmarshalling mechanism for the sake of efficiency, as these objects are
+ * frequently serialized to be replicated across the wire.
*
* @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
*/
More information about the jboss-cvs-commits
mailing list