From f9e5baa3fe03fb55c0c5ccbba2ed0984026dc060 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 02 Dec 2013 13:48:07 +0000
Subject: [PATCH] CSN.java, CSNGenerator.java: Updated javadoc.

---
 opends/src/server/org/opends/server/replication/common/CSN.java |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/common/CSN.java b/opends/src/server/org/opends/server/replication/common/CSN.java
index 0329422..54b8b51 100644
--- a/opends/src/server/org/opends/server/replication/common/CSN.java
+++ b/opends/src/server/org/opends/server/replication/common/CSN.java
@@ -27,8 +27,6 @@
  */
 package org.opends.server.replication.common;
 
-
-
 import java.io.Serializable;
 import java.util.Date;
 
@@ -39,6 +37,9 @@
 
 /**
  * Class used to represent Change Sequence Numbers.
+ *
+ * @see <a href="http://tools.ietf.org/html/draft-ietf-ldup-infomod-08"
+ * >Inspiration for this class comes from LDAPChangeSequenceNumber</a>
  */
 public class CSN implements Serializable, Comparable<CSN>
 {
@@ -63,6 +64,12 @@
 
   private static final long serialVersionUID = -8802722277749190740L;
   private final long timeStamp;
+  /**
+   * The sequence number is set to zero at the start of each millisecond, and
+   * incremented by one for each update operation that occurs within that
+   * millisecond. It allows to distinguish changes that have been done in the
+   * same millisecond.
+   */
   private final int seqnum;
   private final int serverId;
 

--
Gitblit v1.10.0