Свойство | Тип | Описание | |
---|---|---|---|
$lockFlagPathAndFilename | string | See https://jira.neos.io/browse/FLOW-365 for some background information | |
$lockPathAndFilename | string | This file contains the actual lock, set via \flock() in lockSiteOrExit() | |
$lockResource | resource |
Метод | Описание | |
---|---|---|
__construct ( ) | Initializes the manager, removing expired locks | |
exitIfSiteLocked ( ) : void | Exits if the site is currently locked | |
isSiteLocked ( ) : boolean | Tells if the site is currently locked | |
lockSiteOrExit ( ) : void | Locks the site for further requests. | |
unlockSite ( ) : void | Unlocks the site if this request has locked it. |
Метод | Описание | |
---|---|---|
doExit ( ) : void | Exit and emit a message about the reason. | |
getLockPath ( ) : string | Returns the absolute path to a directory that should contain the lock files | |
removeExpiredLock ( ) : void |
public __construct ( ) |
public exitIfSiteLocked ( ) : void | ||
Результат | void |
protected getLockPath ( ) : string | ||
Результат | string |
public isSiteLocked ( ) : boolean | ||
Результат | boolean |
public lockSiteOrExit ( ) : void | ||
Результат | void |
public unlockSite ( ) : void | ||
Результат | void |
protected string $lockFlagPathAndFilename | ||
Результат | string |
protected string $lockPathAndFilename | ||
Результат | string |