From 2d735189c834108a2e5f7a795610372eb6d00aed Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Tue, 03 Jun 2014 08:45:08 +0000
Subject: [PATCH] OPENDJ-1467 :  File Based Changelog must support replicas temporarily leaving the topology

---
 opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDomainDB.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 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 f2ba666..0c8df53 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
@@ -166,8 +166,10 @@
    * @param heartbeatCSN
    *          The CSN heartbeat sent by this replica (contains the serverId and
    *          timestamp of the heartbeat)
+   * @throws ChangelogException
+   *            If a database problem happened
    */
-  void replicaHeartbeat(DN baseDN, CSN heartbeatCSN);
+  void replicaHeartbeat(DN baseDN, CSN heartbeatCSN) throws ChangelogException;
 
   /**
    * Let the DB know this replica is going down.
@@ -186,5 +188,5 @@
    * @throws ChangelogException
    *           If a database problem happened
    */
-  void replicaOffline(DN baseDN, CSN offlineCSN) throws ChangelogException;
+  void notifyReplicaOffline(DN baseDN, CSN offlineCSN) throws ChangelogException;
 }

--
Gitblit v1.10.0