Public Member Functions | |
__construct ($directory= 'dir-locking/') | |
get ($key) | |
acquire lock | |
free ($key) | |
release lock | |
drop ($key) | |
completely remove lock | |
Private Attributes | |
$directory = null |
Definition at line 18 of file DirectoryLocker.class.php.
DirectoryLocker::__construct | ( | $ | directory = 'dir-locking/' |
) |
Definition at line 22 of file DirectoryLocker.class.php.
DirectoryLocker::get | ( | $ | key | ) |
acquire lock
Reimplemented from BaseLocker.
Definition at line 35 of file DirectoryLocker.class.php.
DirectoryLocker::free | ( | $ | key | ) |
release lock
Reimplemented from BaseLocker.
Definition at line 53 of file DirectoryLocker.class.php.
Referenced by drop().
DirectoryLocker::drop | ( | $ | key | ) |
completely remove lock
Reimplemented from BaseLocker.
Definition at line 62 of file DirectoryLocker.class.php.
References free().
DirectoryLocker::$directory = null [private] |
Definition at line 20 of file DirectoryLocker.class.php.