|
GearmanWorker::addServersAdd job servers 説明
public bool GearmanWorker::addServers(string
$servers = null , bool $setupExceptionHandler = true )Adds one or more job servers to this worker. These go into a list of servers that can be used to run jobs. No socket I/O happens here. パラメータ
戻り値
成功した場合に 例
例1 Add two job servers
参考
|