编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « GearmanWorker::getErrno
  • GearmanWorker::register »
  • PHP Manual
  • GearmanWorker
  • Get worker options

GearmanWorker::options

(PECL gearman >= 0.6.0)

GearmanWorker::options — Get worker options

说明

public GearmanWorker::options ( void ) : int

Gets the options previously set for the worker.

参数

此函数没有参数。

返回值

The options currently set for the worker.

参见

  • GearmanWorker::setOptions() - Set worker options

相关文章
php stream context options callback when deleting documentsphp stream context options callback when inserting documentsphp maxdb 函数 set optionsphp socket 函数 sets socket options for the socketphp 范例 basic gearman client and worker backgroundphp gearmanclient set a callback for worker exceptionsphp gearmanclient set client optionsphp gearmanworker add worker optionsphp gearmanworker add job serversphp gearmanworker create a copy of the workerphp gearmanworker create a gearmanworker instancephp gearmanworker get worker optionsphp gearmanworker remove worker optionsphp gearmanworker give the worker an identifier so it can be tracked when asking gearmand for the list of available workersphp gearmanworker set worker optionsphp gearmanworker wait for activity from one of the job serversphp gearmanworker wait for and perform jobsphp memcached set memcached optionsphp pool 停止所有的 worker 对象php pool 提交一个任务到特定的 worker 以执行
关注编程学问公众号
编程学问网 湘ICP备20001732号