Drupal 8  8.0.2
PersistentDatabaseLockBackend Class Reference
Inheritance diagram for PersistentDatabaseLockBackend:

Public Member Functions

 __construct (Connection $database)
 
- Public Member Functions inherited from DatabaseLockBackend
 __construct (Connection $database)
 
 acquire ($name, $timeout=30.0)
 
 lockMayBeAvailable ($name)
 
 release ($name)
 
 releaseAll ($lock_id=NULL)
 
- Public Member Functions inherited from LockBackendAbstract
 wait ($name, $delay=30)
 
 getLockId ()
 

Additional Inherited Members

- Protected Attributes inherited from DatabaseLockBackend
 $database
 
- Protected Attributes inherited from LockBackendAbstract
 $lockId
 
 $locks = array()
 

Detailed Description

Defines the persistent database lock backend. This backend is global for this Drupal installation.

Constructor & Destructor Documentation

__construct ( Connection  $database)

Constructs a new PersistentDatabaseLockBackend.

Parameters
\Drupal\Core\Database\Connection$databaseThe database connection.

References Drupal\database().

Here is the call graph for this function:


The documentation for this class was generated from the following file: