Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
agententity.php
1
<?php
2
3
namespace
Bitrix\Calendar\Core\Queue\Agent
;
4
5
class
AgentEntity
6
{
7
private
string
$name;
8
private
string
$module;
9
private
int
$delay;
10
private
int
$interval;
11
private
int
$escalatedInterval;
12
13
public
function
__construct
(
14
string
$name,
15
string
$module =
'calendar'
,
16
int
$delay = 0,
17
int
$interval = 3600,
18
int
$escalatedInterval = 60
19
)
20
{
21
$this->name = $name;
22
$this->module = $module;
23
$this->delay = $delay;
24
$this->interval = $interval;
25
$this->escalatedInterval = $escalatedInterval;
26
}
27
31
public
function
getName
(): string
32
{
33
return
$this->name;
34
}
35
39
public
function
getModule
(): string
40
{
41
return
$this->module;
42
}
43
47
public
function
getDelay
(): int
48
{
49
return
$this->delay;
50
}
51
55
public
function
getInterval
(): int
56
{
57
return
$this->interval;
58
}
59
63
public
function
getEscalatedInterval
(): int
64
{
65
return
$this->escalatedInterval;
66
}
67
}
Bitrix\Calendar\Core\Queue\Agent\AgentEntity
Definition
agententity.php:6
Bitrix\Calendar\Core\Queue\Agent\AgentEntity\getName
getName()
Definition
agententity.php:31
Bitrix\Calendar\Core\Queue\Agent\AgentEntity\getModule
getModule()
Definition
agententity.php:39
Bitrix\Calendar\Core\Queue\Agent\AgentEntity\getInterval
getInterval()
Definition
agententity.php:55
Bitrix\Calendar\Core\Queue\Agent\AgentEntity\getDelay
getDelay()
Definition
agententity.php:47
Bitrix\Calendar\Core\Queue\Agent\AgentEntity\getEscalatedInterval
getEscalatedInterval()
Definition
agententity.php:63
Bitrix\Calendar\Core\Queue\Agent\AgentEntity\__construct
__construct(string $name, string $module='calendar', int $delay=0, int $interval=3600, int $escalatedInterval=60)
Definition
agententity.php:13
Bitrix\Calendar\Core\Queue\Agent
Definition
agententity.php:3
modules
calendar
lib
core
queue
agent
agententity.php
Создано системой
1.10.0