| 1 | <?php |
||
| 14 | class HealthCheck |
||
| 15 | { |
||
| 16 | |||
| 17 | const DIC = self::class; |
||
| 18 | |||
| 19 | public $protocol = ''; |
||
| 20 | |||
| 21 | public $path = ''; |
||
| 22 | |||
| 23 | public $gracePeriodSeconds = 0; |
||
| 24 | |||
| 25 | public $intervalSeconds = 0; |
||
| 26 | |||
| 27 | public $portIndex = 0; |
||
| 28 | |||
| 29 | public $port = 0; |
||
| 30 | |||
| 31 | public $timeoutSeconds = 20; |
||
| 32 | |||
| 33 | public $maxConsecutiveFailures = 0; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var HealthCheckCommand |
||
| 37 | */ |
||
| 38 | public $command = null; |
||
| 39 | |||
| 40 | 2 | public function __construct($aData = []) |
|
| 49 | |||
| 50 | } |