没有命名空间的类 yii yii\base yii\behaviors yii\caching yii\captcha yii\console yii\console\controllers yii\console\widgets yii\data yii\db yii\db\conditions yii\db\cubrid yii\db\cubrid\conditions yii\db\mssql yii\db\mssql\conditions yii\db\mysql yii\db\oci yii\db\oci\conditions yii\db\pgsql yii\db\sqlite yii\db\sqlite\conditions yii\di yii\filters yii\filters\auth yii\grid yii\helpers yii\i18n yii\log yii\mail yii\mutex yii\rbac yii\rest yii\test yii\validators yii\web yii\widgets

Trait yii\mutex\RetryAcquireTrait

实现yii\mutex\FileMutex, yii\mutex\PgsqlMutex
源码 https://github.com/yiichina/yii2/blob/api/framework/mutex/RetryAcquireTrait.php

Trait RetryAcquireTrait.

公共属性

隐藏继承的属性

属性类型描述被定义在
$retryDelay integer Number of milliseconds between each try in \yii\mutex\acquire() until specified timeout times out. yii\mutex\RetryAcquireTrait

属性详情

$retryDelay 公共 属性 (自版本 2.0.16 可用)

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.

public integer $retryDelay 50