本文整理汇总了PHP中eZClusterFileHandler::removeGeneratingFile方法的典型用法代码示例。如果您正苦于以下问题:PHP eZClusterFileHandler::removeGeneratingFile方法的具体用法?PHP eZClusterFileHandler::removeGeneratingFile怎么用?PHP eZClusterFileHandler::removeGeneratingFile使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类eZClusterFileHandler
的用法示例。
在下文中一共展示了eZClusterFileHandler::removeGeneratingFile方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: abortCacheGeneration
/**
* 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 );
}
示例2: abortCacheGeneration
/**
* 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);
}
示例3: abortCacheGeneration
/**
* 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 );
}