Открытые члены | |
fillThreads () | |
getRecipients (int $limit) | |
lockThread () | |
checkThreads () | |
updateStatus (string $status) | |
hasUnprocessedThreads () | |
getThreadId () | |
lastThreadId () | |
setPostingId (int $postingId) | |
finalize () | |
isProcessLimited () | |
Открытые атрибуты | |
const | THREAD_UNAVAILABLE = -1 |
const | THREAD_LOCKED = -2 |
const | THREAD_NEEDED = 1 |
Открытые атрибуты унаследованные от IThreadStrategy | |
const | TEN = 'Ten' |
const | SINGLE = 'Single' |
Защищенные члены | |
setRuntime () | |
setFilter () | |
setSelect () | |
lock () | |
unlock () | |
checkLock () | |
Защищенные данные | |
$threadId | |
$postingId | |
$select | |
$filter | |
$runtime | |
См. определение в файле abstractthreadstrategy.php строка 15
|
protected |
wait while threads are calculating
Переопределяется в SingleThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 312
checkThreads | ( | ) |
Check threads is available and not need to insert
Bitrix\Main\ArgumentException
Bitrix\Main\ObjectPropertyException
Bitrix\Main\SystemException
Замещает IThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 163
fillThreads | ( | ) |
Insert new posting threads with ignore of conflicts
Замещает IThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 38
finalize | ( | ) |
Finalize thread activity
См. определение в файле abstractthreadstrategy.php строка 328
getRecipients | ( | int | $limit | ) |
$limit |
Bitrix\Main\ArgumentException
Bitrix\Main\ObjectPropertyException
Bitrix\Main\SystemException
Замещает IThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 62
getThreadId | ( | ) |
get current thread id
Замещает IThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 282
hasUnprocessedThreads | ( | ) |
checking that all threads are completed
Замещает IThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 254
isProcessLimited | ( | ) |
Returns true if sending not available
Замещает IThreadStrategy.
Переопределяется в TenThreadsStrategy.
См. определение в файле abstractthreadstrategy.php строка 364
lastThreadId | ( | ) |
get last thread number
Замещает IThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 291
|
protected |
Lock table from selecting of the thread
См. определение в файле abstractthreadstrategy.php строка 188
lockThread | ( | ) |
lock thread for duplicate select
Bitrix\Main\ArgumentException
Bitrix\Main\ObjectPropertyException
Bitrix\Main\SystemException
Замещает IThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 121
|
protected |
Переопределяется в SingleThreadStrategy и TenThreadsStrategy.
См. определение в файле abstractthreadstrategy.php строка 93
setPostingId | ( | int | $postingId | ) |
int | $postingId |
Замещает IThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 301
|
abstractprotected |
Переопределяется в SingleThreadStrategy и TenThreadsStrategy.
|
protected |
См. определение в файле abstractthreadstrategy.php строка 97
|
protected |
Unlock table for select
См. определение в файле abstractthreadstrategy.php строка 233
updateStatus | ( | string | $status | ) |
update status with expire date
$threadId | |
$status |
Замещает IThreadStrategy.
См. определение в файле abstractthreadstrategy.php строка 200
|
protected |
См. определение в файле abstractthreadstrategy.php строка 26
|
protected |
См. определение в файле abstractthreadstrategy.php строка 22
|
protected |
См. определение в файле abstractthreadstrategy.php строка 27
|
protected |
См. определение в файле abstractthreadstrategy.php строка 24
|
protected |
См. определение в файле abstractthreadstrategy.php строка 20
const THREAD_LOCKED = -2 |
См. определение в файле abstractthreadstrategy.php строка 30
const THREAD_NEEDED = 1 |
См. определение в файле abstractthreadstrategy.php строка 31
const THREAD_UNAVAILABLE = -1 |
См. определение в файле abstractthreadstrategy.php строка 29