From 24ef7c741bf20dabe8a5be3978187f8f1eb5dd41 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 27 Mar 2015 15:57:07 +0000
Subject: [PATCH] OPENDJ-1849 Remove references to JE from pluggable backend
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2ID.java | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2ID.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2ID.java
index 036620a..c62c888 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2ID.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2ID.java
@@ -49,7 +49,7 @@
*
* @param treeName The name of the DN database.
* @param entryContainer The entryContainer of the DN database.
- * @throws StorageRuntimeException If an error occurs in the JE database.
+ * @throws StorageRuntimeException If an error occurs in the database.
*/
DN2ID(TreeName treeName, EntryContainer entryContainer) throws StorageRuntimeException
{
@@ -59,8 +59,7 @@
/**
* Adds a new record into the DN database replacing any existing record having the same DN.
- * @param txn A JE database transaction to be used for the database operation,
- * or null if none.
+ * @param txn a non null database transaction
* @param dn The entry DN, which is the key to the record.
* @param id The entry ID, which is the value of the record.
* @throws StorageRuntimeException If an error occurred while attempting to insert
@@ -75,8 +74,7 @@
/**
* Remove a record from the DN database.
- * @param txn A JE database transaction to be used for the database operation,
- * or null if none.
+ * @param txn a non null database transaction
* @param dn The entry DN, which is the key to the record.
* @return true if the record was removed, false if it was not removed.
* @throws StorageRuntimeException If an error occurred while attempting to remove
@@ -91,11 +89,10 @@
/**
* Fetch the entry ID for a given DN.
- * @param txn A JE database transaction to be used for the database read, or
- * null if none is required.
+ * @param txn a non null database transaction
* @param dn The DN for which the entry ID is desired.
* @return The entry ID, or null if the given DN is not in the DN database.
- * @throws StorageRuntimeException If an error occurs in the JE database.
+ * @throws StorageRuntimeException If an error occurs in the database.
*/
EntryID get(ReadableTransaction txn, DN dn) throws StorageRuntimeException
{
--
Gitblit v1.10.0