| 
    Tripal
    
   | 
 

Public Member Functions | |
| getStartTime (string $name) | |
| getCurrentExpirationTime (string $name) | |
| getCurrentExpirationDelay (string $name) | |
| getOwner (string $name) | |
| getOwnerPid (string $name) | |
Lock information interface.
Defines methods to get lock informations such as lock owner, expiration and such.
| Drupal\tripal_biodb\Lock\LockInfoInterface::getCurrentExpirationDelay | ( | string | $name | ) | 
Returns the lock time remaining in seconds.
Note: this delay may be extended by the lock owner.
| string | $name | Name of the lock. | 
Implemented in Drupal\tripal_biodb\Lock\PersistentDatabaseSharedLockBackend.
| Drupal\tripal_biodb\Lock\LockInfoInterface::getCurrentExpirationTime | ( | string | $name | ) | 
Returns the lock expiration time in seconds.
Note: this time may be extended by the lock owner.
| string | $name | Name of the lock. | 
Implemented in Drupal\tripal_biodb\Lock\PersistentDatabaseSharedLockBackend.
| Drupal\tripal_biodb\Lock\LockInfoInterface::getOwner | ( | string | $name | ) | 
Returns the lock owner name.
| string | $name | Name of the lock. | 
Implemented in Drupal\tripal_biodb\Lock\PersistentDatabaseSharedLockBackend.
| Drupal\tripal_biodb\Lock\LockInfoInterface::getOwnerPid | ( | string | $name | ) | 
Returns the system process identifier using the lock.
| string | $name | Name of the lock. | 
| Drupal\tripal_biodb\Lock\LockInfoInterface::getStartTime | ( | string | $name | ) | 
Returns the time in seconds when the lock started.
| string | $name | Name of the lock. |