From 74ae8f26373f050f18bc0f0f4b3f0706a1f3f5be Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Thu, 04 Sep 2014 13:01:44 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1206 : Create a new ReplicationBackend/ChangelogBackend to support cn=changelog CR-4439
---
opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDomainDB.java | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDomainDB.java b/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDomainDB.java
index 32f9fba..f16b149 100644
--- a/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDomainDB.java
+++ b/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDomainDB.java
@@ -43,6 +43,18 @@
{
/**
+ * Returns the oldest {@link CSN}s from the replicaDBs for each serverId in
+ * the specified replication domain.
+ *
+ * @param baseDN
+ * the replication domain baseDN
+ * @return a new ServerState object holding the {serverId => oldest CSN}
+ * mapping. If a replica DB is empty or closed, the oldest CSN will be
+ * null for that replica. The caller owns the generated ServerState.
+ */
+ ServerState getDomainOldestCSNs(DN baseDN);
+
+ /**
* Returns the newest {@link CSN}s from the replicaDBs for each serverId in
* the specified replication domain.
*
--
Gitblit v1.10.0