DirectoryLocker Class Reference
[Different locking methods implementation]

Directories based locker. More...

Inheritance diagram for DirectoryLocker:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($directory= 'dir-locking/')
 get ($key)
 acquire lock
 free ($key)
 release lock
 drop ($key)
 completely remove lock

Private Attributes

 $directory = null


Detailed Description

Directories based locker.

Definition at line 18 of file DirectoryLocker.class.php.


Constructor & Destructor Documentation

DirectoryLocker::__construct ( directory = 'dir-locking/'  ) 

Definition at line 22 of file DirectoryLocker.class.php.


Member Function Documentation

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().

Here is the call graph for this function:


Member Data Documentation

DirectoryLocker::$directory = null [private]

Definition at line 20 of file DirectoryLocker.class.php.


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:17 2007 for onPHP by  doxygen 1.5.4