GearmanWorker (class)

The GearmanWorker class

Introduction

(PECL gearman >= 0.5.0)

Class synopsis

GearmanWorker {
/* Methods */
public bool addFunction ( string $function_name , callable $function [, mixed &$context [, int $timeout ]] )
public bool addOptions ( int $option )
public bool addServer ([ string $host = 127.0.0.1 [, int $port = 4730 ]] )
public bool addServers ( string $servers = 127.0.0.1:4730 )
登录查看完整内容