mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
25.45.2007 67f22097f2e23feed40d54ffad407672a73b7ce8
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;
  }
}