GearmanWorker::setOptions
(PECL gearman >= 0.5.0)
GearmanWorker::setOptions — Set worker options
说明
Sets one or more options to the supplied value.
参数
option
-
The options to be set
返回值
总是返回 true
。
参见
- GearmanWorker::options() - Get worker options
- GearmanWorker::addOptions() - Add worker options
- GearmanWorker::removeOptions() - Remove worker options
- GearmanClient::setOptions() - Set client options
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/gearmanworker.setoptions.php