Revert "package update 재도전"

This reverts commit 595ab6d7e5675490afea91d5367b24c76d05fbe8.
This commit is contained in:
2020-01-28 00:31:53 +09:00
parent f6e53746b2
commit 19be0c4560
419 changed files with 16269 additions and 14006 deletions
+32 -3
View File
@@ -18,11 +18,16 @@ use Symfony\Component\Lock\Exception\NotSupportedException;
* StoreInterface defines an interface to manipulate a lock store.
*
* @author Jérémy Derussé <jeremy@derusse.com>
*
* @deprecated since Symfony 4.4, use PersistingStoreInterface and BlockingStoreInterface instead
*/
interface StoreInterface extends PersistingStoreInterface
interface StoreInterface
{
/**
* Stores the resource if it's not locked by someone else.
*
* @throws LockConflictedException
*/
public function save(Key $key);
/**
* Waits until a key becomes free, then stores the resource.
*
@@ -32,4 +37,28 @@ interface StoreInterface extends PersistingStoreInterface
* @throws NotSupportedException
*/
public function waitAndSave(Key $key);
/**
* Extends the ttl of a resource.
*
* If the store does not support this feature it should throw a NotSupportedException.
*
* @param float $ttl amount of second to keep the lock in the store
*
* @throws LockConflictedException
* @throws NotSupportedException
*/
public function putOffExpiration(Key $key, $ttl);
/**
* Removes a resource from the storage.
*/
public function delete(Key $key);
/**
* Returns whether or not the resource exists in the storage.
*
* @return bool
*/
public function exists(Key $key);
}