The GearmanWorker class
(PECL gearman >= 0.5.0)
类摘要
class GearmanWorker
{
public addServer(
string $host = null,
int $port = 0,
bool $setupExceptionHandler = true):
bool
public addServers(
string $servers = null,
bool $setupExceptionHandler = true):
bool
public error():
string|false
public register(
string $function_name,
int $timeout = 0):
bool
public setId(
string $id):
bool
}
目录