Initial xentral_oss_20.3.c9ffacf
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Xentral\Modules\SubscriptionCycle\Scheduler;
|
||||
|
||||
|
||||
interface TaskMutexServiceInterface
|
||||
{
|
||||
/**
|
||||
* @param string $parameter
|
||||
* @param bool $active
|
||||
*/
|
||||
public function setMutex(string $parameter, bool $active = true): void;
|
||||
|
||||
/**
|
||||
* @param string $parameter
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isTaskInstanceRunning(string $parameter): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user