public function main()
{
$locker = $this->getLocker();
try {
if ($locker) {
$locker->acquire();
}
} catch (\Exception $e) {
// Nothing
}
$this->checkAndRenameTables();
$this->checkAndUpdatePathCachePrimaryKey();
$this->updateRealurlTableStructure();
$this->removeUrlDataEntriesWithIgnoredParameters();
if ($locker && (method_exists($locker, 'isAcquired') && $locker->isAcquired() || method_exists($locker, 'getLockStatus') && $locker->getLockStatus())) {
$locker->release();
}
}