yii\mutex\RetryAcquireTrait - Yii2 类参考手册
Trait yii\mutex\RetryAcquireTrait
Implemented by | yii\mutex\FileMutex, yii\mutex\PgsqlMutex |
---|---|
Available since version | 2.0.16 |
Trait RetryAcquireTrait.
Public Properties
隐藏继承的属性 Hide inherited properties
属性Property | 类型 Type | 简介 Description | 定义在 Defined By |
---|---|---|---|
$retryDelay | integer | Number of milliseconds between each try in \yii\mutex\acquire() until specified timeout times out. | yii\mutex\RetryAcquireTrait |
属性详情 Property Details
Number of milliseconds between each try in \yii\mutex\acquire() until specified timeout times out. By default it is 50 milliseconds - it means that \yii\mutex\acquire() may try acquire lock up to 20 times per second.