Zend_Search_Lucene_Storage_File_Filesystem::lock
Lock file
Lock type may be a LOCK_SH (shared lock) or a LOCK_EX (exclusive lock)
Signature
public function lock(integer
$lockType,
[boolean
$nonBlockingLock = false] )
Parameters
$lockType
— integer$nonBlockingLock
— boolean
Returns
- boolean