/** * Aborts the current cache generation process. * * Does so by rolling back the current transaction, which should be the * .generating file lock */ public function abortCacheGeneration() { eZDebugSetting::writeDebug( 'kernel-clustering', $this->realFilePath, __METHOD__ ); @unlink( $this->filePath ); $this->filePath = $this->realFilePath; $this->realFilePath = null; $this->remainingCacheGenerationTime = false; eZClusterFileHandler::removeGeneratingFile( $this ); }
/** * Aborts the current cache generation process. * * Does so by rolling back the current transaction, which should be the * .generating file lock */ public function abortCacheGeneration() { eZDebugSetting::writeDebug('kernel-clustering', 'Aborting cache generation', "dfs::abortCacheGeneration( '{$this->filePath}' )"); self::$dbbackend->_abortCacheGeneration($this->filePath); $this->filePath = $this->realFilePath; $this->realFilePath = null; eZClusterFileHandler::removeGeneratingFile($this); }
/** * Aborts the current cache generation process. * * Does so by rolling back the current transaction, which should be the * .generating file lock */ public function abortCacheGeneration() { self::$dbbackend->_abortCacheGeneration( $this->filePath ); $this->filePath = $this->realFilePath; $this->realFilePath = null; eZClusterFileHandler::removeGeneratingFile( $this ); }