<?php
namespace Claromentis\Core\Lock;

$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"] ?: array()) + array();
use Claromentis\Core\Lock\Exception\LockAcquisitionException;






interface LockInterface
{
    
    
    
    
    
    
    
    
    public function acquireLock(string $key_name);
    
    
    
    
    
    
    
    public function releaseLock(string $key_name);
    
    
    
    
    
    
    
    public function checkLock(string $key_name);
    
    
    
    
    
    
    
    
    public function doUnderLock(string $key_name, callable $callback);
}