‪TYPO3CMS  10.4
LockingStrategyInterface.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
21 
26 {
31 
36 
41 
45  public static function ‪getCapabilities();
46 
50  public static function ‪getPriority();
51 
56  public function ‪__construct($subject);
57 
66  public function ‪acquire($mode = self::LOCK_CAPABILITY_EXCLUSIVE);
67 
73  public function ‪release();
74 
78  public function ‪destroy();
79 
85  public function ‪isAcquired();
86 }
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\release
‪bool release()
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\isAcquired
‪bool isAcquired()
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\LOCK_CAPABILITY_NOBLOCK
‪const LOCK_CAPABILITY_NOBLOCK
Definition: LockingStrategyInterface.php:40
‪TYPO3\CMS\Core\Locking
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface
Definition: LockingStrategyInterface.php:26
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\LOCK_CAPABILITY_EXCLUSIVE
‪const LOCK_CAPABILITY_EXCLUSIVE
Definition: LockingStrategyInterface.php:30
‪TYPO3\CMS\Core\Locking\Exception\LockAcquireWouldBlockException
Definition: LockAcquireWouldBlockException.php:22
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\__construct
‪__construct($subject)
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\destroy
‪destroy()
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\LOCK_CAPABILITY_SHARED
‪const LOCK_CAPABILITY_SHARED
Definition: LockingStrategyInterface.php:35
‪TYPO3\CMS\Core\Locking\Exception\LockAcquireException
Definition: LockAcquireException.php:24
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\acquire
‪bool acquire($mode=self::LOCK_CAPABILITY_EXCLUSIVE)
‪TYPO3\CMS\Core\Locking\Exception\LockCreateException
Definition: LockCreateException.php:24
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\getCapabilities
‪static int getCapabilities()
‪TYPO3\CMS\Core\Locking\LockingStrategyInterface\getPriority
‪static int getPriority()