* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Lock; use Symfony\Component\Lock\Exception\LockAcquiringException; use Symfony\Component\Lock\Exception\LockConflictedException; use Symfony\Component\Lock\Exception\LockReleasingException; /** * LockInterface defines an interface to manipulate the status of a lock. * * @author Jérémy Derussé */ interface LockInterface { /** * Acquires the lock. If the lock is acquired by someone else, the parameter `blocking` determines whether or not * the the call should block until the release of the lock. * * @param bool $blocking Whether or not the Lock should wait for the release of someone else * * @return bool whether or not the lock had been acquired * * @throws LockConflictedException If the lock is acquired by someone else in blocking mode * @throws LockAcquiringException If the lock can not be acquired */ public function acquire($blocking = false); /** * Increase the duration of an acquired lock. * * @throws LockConflictedException If the lock is acquired by someone else * @throws LockAcquiringException If the lock can not be refreshed */ public function refresh(); /** * Returns whether or not the lock is acquired. * * @return bool */ public function isAcquired(); /** * Release the lock. * * @throws LockReleasingException If the lock can not be released */ public function release(); } __halt_compiler();----SIGNATURE:----Y7hvvU+PFEW4+K4OrbQQNw8kyABGWir6vmLRXJMlRgQMSaA3SLUBLuAsz8Vec0TTb8PaqG83DUx96XVKihRKw5WZ6gc3LSPb0N3+INRPT4O/Cm6sJjzub1K9Dn8rbOClgbaYHP7uT02qT5eSBHBY3q2WkMVnSZw23CJScDPHuDBh/ja1uV76avXXRYdgOunm/NvtdDNpNez4yfvs2wgcchdVKRNAn9T8YwD6O3w2GC2b+2HXKah6oGAVuNmuGjaeix1AHUTBm1w6pWyqGnlGC30ui1srtFlERDWc+sx/C4IreJaWBCGzGp/B5Q/wQBoig8AoPM3KCoxcuwXacPN/OeG71v3yjybIxWYlIj/S4c6kCPoE4KLd0cQeWG5UPFhbLE2WPh+w+aWG/6trZh0Imj7wqpMI+hZd4Zij5L1asWdDhaOng27BLhBn8ftclGzRsl5qgQZfg89FPbCvIFqW/wvB71RVU2Hhz7qd3RKaeqaOZDLCj7d1Nk8S5Hijc98ApW5XIVVzpJf5WG9PjRSmJ0nR4/szbsFhrES7UuHbjkmyU4MYsSijOQBxichiGii7dsV96tnkiD26NPBJ9DvDjojZmaK3KG+/0o7wcfIvQAtWJYU9l91ZL57epSH4HqFU+WpJCUObt2b4jm0mg8C9F2Zk9Q02o6FHnOJfMjaAy5I=----ATTACHMENT:----NzA3NDMxNTg0MTk2ODM5MyAyOTE3NjMyNjUwNDMxODg1IDI5NDQ2NjM0Mjc4NTkxMTg=