]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Lock/ILockDriver.php
Fixings
[friendica.git] / src / Core / Lock / ILockDriver.php
index af8a1d56aef93dd45061cea5d6ceda7ff5fe20c3..cd54cc03c3fb514a7a3462aa14a4c71eedb3953d 100644 (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