From 157717b205d4c1f957cf810e04e06f11530c619c Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 02 Sep 2013 08:57:43 +0000
Subject: [PATCH] Renamed: - ChangeNumber to CSN - ChangeNumberGenerator to CSNGenerator - ChangeNumberTest to CSNTest - ChangeNumberGeneratorTest to CSNGeneratorTest
---
opends/src/server/org/opends/server/replication/plugin/FakeOperation.java | 25 ++++++++++++-------------
1 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/plugin/FakeOperation.java b/opends/src/server/org/opends/server/replication/plugin/FakeOperation.java
index 3b2f4ff..8672522 100644
--- a/opends/src/server/org/opends/server/replication/plugin/FakeOperation.java
+++ b/opends/src/server/org/opends/server/replication/plugin/FakeOperation.java
@@ -23,43 +23,42 @@
*
*
* Copyright 2006-2008 Sun Microsystems, Inc.
+ * Portions copyright 2013 ForgeRock AS
*/
package org.opends.server.replication.plugin;
-import org.opends.server.replication.common.ChangeNumber;
+import org.opends.server.replication.common.CSN;
import org.opends.server.replication.protocol.ReplicationMsg;
-
/**
* This class if used to build fake Operation from the historical
* information that stay in the entry in the database.
*
* This is useful when a LDAP server can't find a LDAP server that
- * has already seen all its changes and therefore need to retransmit them
- *
+ * has already seen all its changes and therefore need to retransmit them.
*/
public abstract class FakeOperation
{
- private ChangeNumber changeNumber;
+ private CSN csn;
/**
- * Creates a new FakeOperation using the provided ChangeNumber.
+ * Creates a new FakeOperation using the provided CSN.
*
- * @param changeNumber The ChangeNumber to use to build the FakeOperation.
+ * @param csn The CSN to use to build the FakeOperation.
*/
- public FakeOperation(ChangeNumber changeNumber)
+ public FakeOperation(CSN csn)
{
- this.changeNumber = changeNumber;
+ this.csn = csn;
}
/**
- * Get the ChangeNumber.
+ * Get the CSN.
*
- * @return Returns the changeNumber.
+ * @return Returns the CSN.
*/
- public ChangeNumber getChangeNumber()
+ public CSN getCSN()
{
- return changeNumber;
+ return csn;
}
/**
--
Gitblit v1.10.0