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/VLVIndex.java |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/VLVIndex.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/VLVIndex.java
index 18aae21..bd96a84 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/VLVIndex.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/VLVIndex.java
@@ -79,15 +79,15 @@
 import org.opends.server.util.StaticUtils;
 
 /**
- * This class represents a VLV index. Each database record corresponds to a single entry matching
+ * This class represents a VLV index. Each record corresponds to a single entry matching
  * the VLV criteria. Keys are a sequence of the entry's normalized attribute values corresponding to
  * the VLV sort order, followed by the entry's entry ID. Records do not have a "value" since all
  * required information is held within the key. The entry ID is included in the key as a
  * "tie-breaker" and ensures that keys correspond to one and only one entry. This ensures that all
- * database updates can be performed using lock-free operations.
+ * tree updates can be performed using lock-free operations.
  */
 @SuppressWarnings("javadoc")
-class VLVIndex extends AbstractDatabaseContainer implements ConfigurationChangeListener<BackendVLVIndexCfg>, Closeable
+class VLVIndex extends AbstractTree implements ConfigurationChangeListener<BackendVLVIndexCfg>, Closeable
 {
   private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
 
@@ -108,8 +108,7 @@
   private final State state;
 
   /**
-   * A flag to indicate if this vlvIndex should be trusted to be consistent with the entries
-   * database.
+   * A flag to indicate if this vlvIndex should be trusted to be consistent with the entries tree.
    */
   private boolean trusted;
 
@@ -117,7 +116,7 @@
       final EntryContainer entryContainer, final WriteableTransaction txn) throws StorageRuntimeException,
       ConfigException
   {
-    super(new TreeName(entryContainer.getDatabasePrefix(), "vlv." + config.getName()));
+    super(new TreeName(entryContainer.getTreePrefix(), "vlv." + config.getName()));
 
     this.config = config;
     this.baseDN = config.getBaseDN();

--
Gitblit v1.10.0