private function updateIdSitesInvalidatedOldReports() { $store = new SitesToReprocessDistributedList(); $this->idSitesInvalidatedOldReports = $store->getAll(); }
/** * @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); }
private function getSitesToReprocessListContents() { $list = new SitesToReprocessDistributedList(); $values = $list->getAll(); return array_values($values); }
/** * @param array $idSites * @param array $yearMonths */ private function markInvalidatedArchivesForReprocessAndPurge(array $idSites, $yearMonths) { $store = new SitesToReprocessDistributedList(); $store->add($idSites); $archivesToPurge = new ArchivesToPurgeDistributedList(); $archivesToPurge->add($yearMonths); }