Ejemplo n.º 1
0
 /**
  * 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 );
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }
Ejemplo n.º 3
0
 /**
  * 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 );
 }