예제 #1
0
 private function updateIdSitesInvalidatedOldReports()
 {
     $store = new SitesToReprocessDistributedList();
     $this->idSitesInvalidatedOldReports = $store->getAll();
 }
예제 #2
0
 /**
  * @param array $idSites
  * @param $datesByMonth
  */
 private function persistInvalidatedArchives(array $idSites, $datesByMonth)
 {
     $yearMonths = array_keys($datesByMonth);
     $yearMonths = array_unique($yearMonths);
     $store = new SitesToReprocessDistributedList();
     $store->add($idSites);
     $archivesToPurge = new ArchivesToPurgeDistributedList();
     $archivesToPurge->add($yearMonths);
 }
예제 #3
0
 private function getSitesToReprocessListContents()
 {
     $list = new SitesToReprocessDistributedList();
     $values = $list->getAll();
     return array_values($values);
 }
예제 #4
0
 /**
  * @param array $idSites
  * @param array $yearMonths
  */
 private function markInvalidatedArchivesForReprocessAndPurge(array $idSites, $yearMonths)
 {
     $store = new SitesToReprocessDistributedList();
     $store->add($idSites);
     $archivesToPurge = new ArchivesToPurgeDistributedList();
     $archivesToPurge->add($yearMonths);
 }