public function refreshData(&$id, $count, $namespaces = false, $usejobs = true)
 {
     $entityRebuildDispatcher = $this->factory->newEntityRebuildDispatcher();
     $entityRebuildDispatcher->setDispatchRangeLimit($count);
     $entityRebuildDispatcher->setRestrictionToNamespaces($namespaces);
     $entityRebuildDispatcher->useJobQueueScheduler($usejobs);
     return $entityRebuildDispatcher;
 }