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/changelog/je/JEReplicationDBCursor.java | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/changelog/je/JEReplicationDBCursor.java b/opends/src/server/org/opends/server/replication/server/changelog/je/JEReplicationDBCursor.java
index a096631..7f2c7af 100644
--- a/opends/src/server/org/opends/server/replication/server/changelog/je/JEReplicationDBCursor.java
+++ b/opends/src/server/org/opends/server/replication/server/changelog/je/JEReplicationDBCursor.java
@@ -32,7 +32,7 @@
import org.opends.server.replication.protocol.UpdateMsg;
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.ReplicationDB.ReplServerDBCursor;
+import org.opends.server.replication.server.changelog.je.ReplicationDB.*;
/**
* Berkeley DB JE implementation of {@link ReplicationDBCursor}.
@@ -46,18 +46,18 @@
private ChangeNumber lastNonNullCurrentCN;
/**
- * Creates a new JEReplicationDBCursor. All created cursor must be released by
- * the caller using the {@link #close()} method.
- *
- * @param db
- * The db where the cursor must be created.
- * @param startAfterCN
- * The ChangeNumber after which the cursor must start.
- * @param dbHandler
- * The associated DbHandler.
- * @throws ChangelogException
- * if a database problem happened.
- */
+ * Creates a new JEReplicationDBCursor. All created cursor must be released by
+ * the caller using the {@link #close()} method.
+ *
+ * @param db
+ * The db where the cursor must be created.
+ * @param startAfterCN
+ * The ChangeNumber after which the cursor must start.
+ * @param dbHandler
+ * The associated DbHandler.
+ * @throws ChangelogException
+ * if a database problem happened.
+ */
public JEReplicationDBCursor(ReplicationDB db, ChangeNumber startAfterCN,
DbHandler dbHandler) throws ChangelogException
{
@@ -151,10 +151,10 @@
}
/**
- * Called by the Gc when the object is garbage collected Release the internal
- * cursor in case the cursor was badly used and {@link #close()} was never
- * called.
- */
+ * Called by the Gc when the object is garbage collected Release the internal
+ * cursor in case the cursor was badly used and {@link #close()} was never
+ * called.
+ */
@Override
protected void finalize()
{
--
Gitblit v1.10.0