From 9603e9270e1350abd3248e6187d4d4bb0a8fee1d Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 30 Aug 2013 10:07:10 +0000
Subject: [PATCH] OPENDJ-1116 Introduce abstraction for the changelog DB
---
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java b/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
index c88e37c..3b0b472 100644
--- a/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
+++ b/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
@@ -49,7 +49,6 @@
import org.opends.server.replication.server.changelog.api.ChangelogException;
import org.opends.server.replication.server.changelog.api.ReplicationDBCursor;
import org.opends.server.replication.server.changelog.je.DbHandler;
-import org.opends.server.replication.server.changelog.je.ReplicationDB;
import org.opends.server.types.*;
import static org.opends.messages.ReplicationMessages.*;
@@ -1263,17 +1262,17 @@
}
/**
- * Creates and returns a cursor. When the cursor is not used anymore, the
- * caller MUST call the {@link ReplicationDBCursor#close()} method to free the
- * resources and locks used by the cursor.
- *
- * @param serverId
- * Identifier of the server for which the cursor is created.
- * @param startAfterCN
- * Starting point for the cursor.
- * @return the created {@link ReplicationDB}. Null when no DB is available or
- * the DB is empty for the provided serverId .
- */
+ * Creates and returns a cursor. When the cursor is not used anymore, the
+ * caller MUST call the {@link ReplicationDBCursor#close()} method to free the
+ * resources and locks used by the cursor.
+ *
+ * @param serverId
+ * Identifier of the server for which the cursor is created.
+ * @param startAfterCN
+ * Starting point for the cursor.
+ * @return the created {@link ReplicationDBCursor}. Null when no DB is
+ * available or the DB is empty for the provided serverId .
+ */
public ReplicationDBCursor getCursorFrom(int serverId,
ChangeNumber startAfterCN)
{
--
Gitblit v1.10.0