- fixed test for semaphore
- fixed some issues
- changed namespace in Tests back to "src/"
- changed namings
This commit is contained in:
Philipp Holzer
2018-07-05 20:57:31 +02:00
parent 906bb25972
commit e41e7d2edd
15 changed files with 67 additions and 65 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ interface ILockDriver
*
* @return boolean Was the lock successful?
*/
public function acquire($key, $timeout = 120);
public function acquireLock($key, $timeout = 120);
/**
* Releases a lock if it was set by us
@@ -35,7 +35,7 @@ interface ILockDriver
*
* @return void
*/
public function release($key);
public function releaseLock($key);
/**
* Releases all lock that were set by us