From 68fde1b50ba683919007b188eccc917708e8a7de Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 08 Oct 2013 06:55:05 +0000
Subject: [PATCH] OPENDJ-1116 Introduce abstraction for the changelog DB
---
opends/src/server/org/opends/server/replication/server/changelog/api/ChangeNumberIndexDB.java | 39 ---------------------------------------
1 files changed, 0 insertions(+), 39 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/changelog/api/ChangeNumberIndexDB.java b/opends/src/server/org/opends/server/replication/server/changelog/api/ChangeNumberIndexDB.java
index 2670232..83d428b 100644
--- a/opends/src/server/org/opends/server/replication/server/changelog/api/ChangeNumberIndexDB.java
+++ b/opends/src/server/org/opends/server/replication/server/changelog/api/ChangeNumberIndexDB.java
@@ -26,7 +26,6 @@
*/
package org.opends.server.replication.server.changelog.api;
-import org.opends.server.types.DN;
/**
* This class stores an index of all the changes seen by this server in the form
@@ -118,42 +117,4 @@
ChangeNumberIndexDBCursor getCursorFrom(long startChangeNumber)
throws ChangelogException;
- /**
- * Returns whether this database is empty.
- *
- * @return <code>true</code> if this database is empty, <code>false</code>
- * otherwise
- * @throws ChangelogException
- * if a database problem occurs.
- */
- boolean isEmpty() throws ChangelogException;
-
- /**
- * Clear the changes from this DB (from both memory cache and DB storage).
- *
- * @throws ChangelogException
- * if a database problem occurs.
- */
- void clear() throws ChangelogException;
-
- /**
- * Clear the changes from this DB (from both memory cache and DB storage) for
- * the provided baseDN.
- *
- * @param baseDNToClear
- * The baseDN for which we want to remove all records from this DB,
- * null means all.
- * @throws ChangelogException
- * if a database problem occurs.
- */
- void clear(DN baseDNToClear) throws ChangelogException;
-
- /**
- * Shutdown this DB.
- *
- * @throws ChangelogException
- * if a database problem occurs.
- */
- void shutdown() throws ChangelogException;
-
}
--
Gitblit v1.10.0