TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Locking\LockFactory Class Reference
Inheritance diagram for TYPO3\CMS\Core\Locking\LockFactory:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 addLockingStrategy ($className)
 
 removeLockingStrategy ($className)
 

Protected Attributes

 $lockingStrategy
 

Detailed Description

Factory class to retrieve a locking method

Definition at line 23 of file LockFactory.php.

Member Function Documentation

◆ addLockingStrategy()

TYPO3\CMS\Core\Locking\LockFactory::addLockingStrategy (   $className)

Add a locking method

Parameters
string$className
Exceptions

Definition at line 40 of file LockFactory.php.

◆ removeLockingStrategy()

TYPO3\CMS\Core\Locking\LockFactory::removeLockingStrategy (   $className)

Remove a locking method

Parameters
string$className

Definition at line 55 of file LockFactory.php.

References TYPO3\CMS\Core\Locking\LockingStrategyInterface\LOCK_CAPABILITY_EXCLUSIVE.

Member Data Documentation

◆ $lockingStrategy

TYPO3\CMS\Core\Locking\LockFactory::$lockingStrategy
protected
Initial value:
= [
SemaphoreLockStrategy::class => true

Definition at line 28 of file LockFactory.php.