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/Tree.java | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DatabaseContainer.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Tree.java
similarity index 69%
rename from opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DatabaseContainer.java
rename to opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Tree.java
index 8b6d22c..b08bfa8 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DatabaseContainer.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/Tree.java
@@ -35,51 +35,51 @@
* This class is a wrapper around the tree object and provides basic
* read and write methods for entries.
*/
-interface DatabaseContainer
+interface Tree
{
/**
- * Opens a database in this database container. If the provided database configuration is
- * transactional, a transaction will be created and used to perform the open.
+ * Opens a tree. If the provided configuration is transactional,
+ * a transaction will be created and used to perform the open.
*
* @param txn
- * a non null database transaction
+ * a non null transaction
* @throws StorageRuntimeException
- * if a database error occurs while opening the index.
+ * if an error occurs while opening the index.
*/
void open(WriteableTransaction txn) throws StorageRuntimeException;
/**
- * Deletes this database and all of its contents.
+ * Deletes this tree and all of its contents.
*
* @param txn
- * a non null database transaction
+ * a non null transaction
* @throws StorageRuntimeException
- * if a database error occurs while deleting the index.
+ * if an error occurs while deleting the index.
*/
void delete(WriteableTransaction txn) throws StorageRuntimeException;
/**
- * Returns the number of key/value pairs in this database container.
+ * Returns the number of key/value pairs in this tree.
*
* @param txn
- * a non null database transaction
+ * a non null transaction
* @return the number of key/value pairs in the provided tree.
* @throws StorageRuntimeException
- * If an error occurs in the DB operation.
+ * If an error occurs in the storage operation.
*/
long getRecordCount(ReadableTransaction txn) throws StorageRuntimeException;
/**
- * Get the database name for this database container.
+ * Get the name for this tree.
*
- * @return database name for this database container.
+ * @return name for this tree.
*/
TreeName getName();
/**
- * Set the database name to use for this container.
+ * Set the name to use for this tree.
*
- * @param name The database name to use for this container.
+ * @param name The name to use for this tree.
*/
void setName(TreeName name);
}
--
Gitblit v1.10.0