| Current Path : /var/www/homesaver/www/bitrix/modules/sender/lib/posting/segmentthreadstrategy/ |
| Current File : /var/www/homesaver/www/bitrix/modules/sender/lib/posting/segmentthreadstrategy/threadstrategy.php |
<?php
namespace Bitrix\Sender\Posting\SegmentThreadStrategy;
use Bitrix\Main\ORM\Query\Result;
interface ThreadStrategy
{
public const TEN = 'Ten';
public const SINGLE = 'Single';
function getOffset(): ?int;
function fillThreads(): void;
function lockThread(): ?int;
function hasUnprocessedThreads(): bool;
function getThreadId(): ?int;
function setGroupStateId(int $groupStateId): ThreadStrategy;
function updateStatus(string $status): bool;
function lastThreadId(): int;
function isProcessLimited(): bool;
function checkThreads(): ?int;
}