yii\queue\cli\Signal - Yii2 类参考手册
Class yii\queue\cli\Signal
全部
| 方法 Methods
Inheritance | yii\queue\cli\Signal |
---|---|
Deprecated since version | since 2.0.2 and will be removed in 2.1. Use SignalLoop instead. |
Process Signal Helper
Public Methods
隐藏继承的方法 Hide inherited methods
方法 Method | 简介 Description | 定义在 Defined By |
---|---|---|
isExit() | Checks exit signals Used mainly by \yii\queue\cli\yii\queue\Queue to check, whether job execution loop can be continued. | yii\queue\cli\Signal |
setExitFlag() | Sets exit flag to true
Method can be used to simulate exit signal for methods that use
isExit() to check whether execution loop can be continued. |
yii\queue\cli\Signal |
方法详情 Method Details
Checks exit signals Used mainly by \yii\queue\cli\yii\queue\Queue to check, whether job execution loop can be continued.
public static boolean isExit ( ) |
Sets exit flag to true
Method can be used to simulate exit signal for methods that use
isExit() to check whether execution loop can be continued.
public static void setExitFlag ( ) |