Lock configuration class, used to get an instance of the currently configured lock factory.
More...
Lock configuration class, used to get an instance of the currently configured lock factory.
- Copyright
- Damyon Wiese 2013
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_lock_factory()
static core\lock\lock_config::get_lock_factory |
( |
string | $type | ) |
|
|
static |
Get an instance of the currently configured locking subclass.
- Parameters
-
string | $type | - Unique namespace for the locks generated by this factory. e.g. core_cron |
- Return values
-
- Exceptions
-
◆ get_lock_factory_class()
static core\lock\lock_config::get_lock_factory_class |
( |
| ) |
|
|
static |
Get the currently configured locking subclass.
- Return values
-
- Exceptions
-
The documentation for this class was generated from the following file:
- lib/classes/lock/lock_config.php