mirror of https://github.com/friendica/friendica
17 lines
307 B
PHP
17 lines
307 B
PHP
<?php
|
|
|
|
namespace Friendica\Core\Lock;
|
|
|
|
use Friendica\Core\Cache\Type as CacheType;
|
|
|
|
/**
|
|
* Enumeration for lock types
|
|
*
|
|
* There's no "Cache" lock type, because the type depends on the concrete, used cache
|
|
*/
|
|
abstract class Type
|
|
{
|
|
const DATABASE = CacheType::DATABASE;
|
|
const SEMAPHORE = 'semaphore';
|
|
}
|