首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

GearmanClient::addOptions

(PECL gearman >= 0.6.0)

GearmanClient :: addOptions - 添加客户端选项

描述

代码语言:javascript
复制
public bool GearmanClient::addOptions ( int $options )

将一个或多个选项添加到已设置的选项。

参数

options

The options to add. One of the following constants, or a combination of them using the bitwise OR operator ("|"): GEARMAN_CLIENT_GENERATE_UNIQUE, GEARMAN_CLIENT_NON_BLOCKING, GEARMAN_CLIENT_UNBUFFERED_RESULT or GEARMAN_CLIENT_FREE_TASKS.

返回值

始终返回TRUE

← GearmanClient

GearmanClient::addServer →

扫码关注腾讯云开发者

领取腾讯云代金券