From b52956de75caa2be959a4bdc768462070aa6549f Mon Sep 17 00:00:00 2001
From: Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Date: Wed, 06 May 2015 12:40:41 +0000
Subject: [PATCH] OPENDJ-1849 CR-6871 Remove references to JE from pluggable backend

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/State.java |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/State.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/State.java
index d00e069..580f157 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/State.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/State.java
@@ -44,9 +44,9 @@
 
 /**
  * This class is responsible for storing the configuration state of
- * the JE backend for a particular suffix.
+ * the backend for a particular suffix.
  */
-class State extends AbstractDatabaseContainer
+class State extends AbstractTree
 {
 
   /**
@@ -81,7 +81,7 @@
   /**
    * Create a new State object.
    *
-   * @param name The name of the entry database.
+   * @param name The name of the entry tree.
    */
   State(TreeName name)
   {
@@ -94,12 +94,12 @@
   }
 
   /**
-   * Fetch index flags from the database.
-   * @param txn The database transaction or null if none.
+   * Fetch index flags from the tree.
+   * @param txn The transaction or null if none.
    * @param indexTreeName The tree's name of the index
-   * @return The flags of the index in the database or an empty set if no index has no flags.
+   * @return The flags of the index in the tree or an empty set if no index has no flags.
    * @throws NullPointerException if tnx or index is null
-   * @throws StorageRuntimeException If an error occurs in the database.
+   * @throws StorageRuntimeException If an error occurs in the storage.
    */
   EnumSet<IndexFlag> getIndexFlags(ReadableTransaction txn, TreeName indexTreeName) throws StorageRuntimeException {
     checkNotNull(txn, "txn must not be null");
@@ -111,11 +111,11 @@
 
   /**
    * Ensure that the specified flags are set for the given index
-   * @param txn a non null database transaction
+   * @param txn a non null transaction
    * @param index The index storing the trusted state info.
    * @return true if the flags have been updated
    * @throws NullPointerException if txn, index or flags is null
-   * @throws StorageRuntimeException If an error occurs in the database.
+   * @throws StorageRuntimeException If an error occurs in the storage.
    */
   boolean addFlagsToIndex(WriteableTransaction txn, TreeName indexTreeName, final IndexFlag... flags)
   {
@@ -162,10 +162,10 @@
 
   /**
    * Ensure that the specified flags are not set for the given index
-   * @param txn a non null database transaction
+   * @param txn a non null transaction
    * @param index The index storing the trusted state info.
    * @throws NullPointerException if txn, index or flags is null
-   * @throws StorageRuntimeException If an error occurs in the database.
+   * @throws StorageRuntimeException If an error occurs in the storage.
    */
   void removeFlagsFromIndex(WriteableTransaction txn, TreeName indexTreeName, final IndexFlag... flags) {
     checkNotNull(txn, "txn must not be null");
@@ -185,13 +185,13 @@
   }
 
   /**
-   * Remove a record from the entry database.
+   * Remove a record from the entry tree.
    *
-   * @param txn a non null database transaction
+   * @param txn a non null transaction
    * @param index The index storing the trusted state info.
    * @return true if the entry was removed, false if it was not.
    * @throws NullPointerException if txn, index is null
-   * @throws StorageRuntimeException If an error occurs in the database.
+   * @throws StorageRuntimeException If an error occurs in the storage.
    */
   boolean deleteRecord(WriteableTransaction txn, TreeName indexTreeName) throws StorageRuntimeException
   {

--
Gitblit v1.10.0