| @@ 529-534 (lines=6) @@ | ||
| 526 | * Graceful restart |
|
| 527 | * @return void |
|
| 528 | */ |
|
| 529 | public function gracefulRestart() |
|
| 530 | { |
|
| 531 | $this->reload = true; |
|
| 532 | $this->graceful = true; |
|
| 533 | $this->reloadTime = microtime(true) + $this->reloadDelay; |
|
| 534 | $this->setState($this->state); |
|
| 535 | } |
|
| 536 | ||
| 537 | /** |
|
| @@ 541-546 (lines=6) @@ | ||
| 538 | * Graceful stop |
|
| 539 | * @return void |
|
| 540 | */ |
|
| 541 | public function gracefulStop() |
|
| 542 | { |
|
| 543 | $this->breakMainLoop = true; |
|
| 544 | $this->graceful = true; |
|
| 545 | $this->reloadTime = microtime(true) + $this->reloadDelay; |
|
| 546 | $this->setState($this->state); |
|
| 547 | } |
|
| 548 | ||
| 549 | /** |
|