From 67f22097f2e23feed40d54ffad407672a73b7ce8 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 25 Sep 2007 14:45:59 +0000
Subject: [PATCH] Fix for issue 2261 (dsreplication should provide a view of the replicated baseDNs in a topology).
---
opends/src/ads/org/opends/admin/ads/ReplicaDescriptor.java | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 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 598de7f..0004c04 100644
--- a/opends/src/ads/org/opends/admin/ads/ReplicaDescriptor.java
+++ b/opends/src/ads/org/opends/admin/ads/ReplicaDescriptor.java
@@ -41,6 +41,8 @@
private ServerDescriptor server;
private Set<String> replicationServers = new HashSet<String>();
private int replicationId = -1;
+ private int missingChanges = -1;
+ private int ageOfOldestMissingChange = -1;
/**
* Returns the number of entries contained in the replica.
@@ -160,4 +162,40 @@
{
this.replicationId = replicationId;
}
+
+ /**
+ * Returns the age of the oldest missing change.
+ * @return the age of the oldest missing change.
+ */
+ public int getAgeOfOldestMissingChange()
+ {
+ return ageOfOldestMissingChange;
+ }
+
+ /**
+ * Sets the age of the oldest missing change.
+ * @param ageOfOldestMissingChange the age of the oldest missing change.
+ */
+ public void setAgeOfOldestMissingChange(int ageOfOldestMissingChange)
+ {
+ this.ageOfOldestMissingChange = ageOfOldestMissingChange;
+ }
+
+ /**
+ * Returns the number of missing changes.
+ * @return the number of missing changes.
+ */
+ public int getMissingChanges()
+ {
+ return missingChanges;
+ }
+
+ /**
+ * Sets the number of missing changes.
+ * @param missingChanges the number of missing changes.
+ */
+ public void setMissingChanges(int missingChanges)
+ {
+ this.missingChanges = missingChanges;
+ }
}
--
Gitblit v1.10.0