Class: DatabaseLockSystem
Source Location: /modules/core/classes/DatabaseLockSystem.class
Class DatabaseLockSystem
Inherited Properties, Constants, and Methods
Methods
void refreshLocks(
$freshUntil
)
|
|
Parameters:
API Tags:
See: | GalleryLockSystem::refreshLocks |
Redefinition of:
- GalleryLockSystem::refreshLocks()
- Refresh all the locks that we hold so that they aren't accidentally considered expired
void _acquireLock(
$ids,
$timeout,
$lockType
)
|
|
Parameters:
|
$ids: |
|
|
$timeout: |
|
|
$lockType: |
|
API Tags:
See: | GalleryLockSystem::_acquireLock |
Redefinition of:
- GalleryLockSystem::_acquireLock()
- Extending class must implement this function to actually acquire a lock.
void _moveObjectsBetweenLocks(
$relock,
$newLockId
)
|
|
Parameters:
API Tags:
See: | GalleryLockSystem:_moveObjectsBetweenLocks |
Redefinition of:
- GalleryLockSystem::_moveObjectsBetweenLocks()
- Move ids from givens locks into a new lock.
void _removeObjectsFromLock(
&$lock,
$ids
)
|
|
Parameters:
API Tags:
See: | GalleryLockSystem:_removeObjectsFromLock |
Redefinition of:
- GalleryLockSystem::_removeObjectsFromLock()
- Remove some object ids from the given lock.
|
|