编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 bbcode 函数 set or alter parser optionsphp stream context options callback when inserting documentsphp stream context options callback when updating documentsphp stream context options callback when retrieving next cursor batchphp maxdb 函数 别名 maxdb optionsphp 范例 basic gearman client and worker backgroundphp 范例 basic gearman client and worker submitting tasksphp gearmanclient set client optionsphp gearmanworker add worker optionsphp gearmanworker create a copy of the workerphp gearmanworker create a gearmanworker instancephp gearmanworker test job server responsephp 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 pool 提交一个任务到特定的 worker 以执行php swoole server restart all the worker process.php varnishadmin start varnish worker processphp worker collect references to completed tasks
关注编程学问公众号
编程学问网 湘ICP备20001732号