Exemplo n.º 1
0
  private void updateFullDatabaseVersionCache() {
    fullDatabaseVersionCache = new DatabaseVersion();

    for (DatabaseVersion databaseVersion : databaseVersions) {
      updateFullDatabaseVersionCache(databaseVersion);
    }
  }
Exemplo n.º 2
0
  public void removeDatabaseVersion(DatabaseVersion databaseVersion) {
    databaseVersions.remove(databaseVersion);

    // Populate caches
    // WARNING: Do NOT reorder, order important!!
    updateFullDatabaseVersionCache();
    updateDatabaseVersionIdCache();
    updateFilenameHistoryCache();
    updateContentChecksumCache();
  }