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

pgamba
20.46.2007 3298001b86b35e1a05ff9d6a2f0ac402d674400a
opends/src/server/org/opends/server/replication/server/ReplicationServer.java
@@ -989,4 +989,20 @@
    else
      return null;
  }
}
  /**
   * Clears the Db associated with that server.
   */
  public void clearDb()
  {
    Iterator<ReplicationCache> rcachei = getCacheIterator();
    if (rcachei != null)
    {
      while (rcachei.hasNext())
      {
        ReplicationCache rc = rcachei.next();
        rc.clearDbs();
      }
    }
  }
}