From 1c6e1841123f49cb25192fbf16a57e66203f3878 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Sat, 10 Jan 2009 11:15:21 +0000
Subject: [PATCH] Fix for issue 3701 (The Setup is not managing properly the backends when the replication involves multiple base-dn)
---
opends/src/ads/org/opends/admin/ads/ReplicaDescriptor.java | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/opends/src/ads/org/opends/admin/ads/ReplicaDescriptor.java b/opends/src/ads/org/opends/admin/ads/ReplicaDescriptor.java
index cd96ce5..964563d 100644
--- a/opends/src/ads/org/opends/admin/ads/ReplicaDescriptor.java
+++ b/opends/src/ads/org/opends/admin/ads/ReplicaDescriptor.java
@@ -43,6 +43,7 @@
private int replicationId = -1;
private int missingChanges = -1;
private long ageOfOldestMissingChange = -1;
+ private String backendName;
/**
* Returns the number of entries contained in the replica.
@@ -198,4 +199,22 @@
{
this.missingChanges = missingChanges;
}
+
+ /**
+ * Returns the name of the backend where this replica is defined.
+ * @return the name of the backend where this replica is defined.
+ */
+ public String getBackendName()
+ {
+ return backendName;
+ }
+
+ /**
+ * Sets the name of the backend where this replica is defined.
+ * @param backendName the name of the backend.
+ */
+ public void setBackendName(String backendName)
+ {
+ this.backendName = backendName;
+ }
}
--
Gitblit v1.10.0