The GearmanWorker class
(PECL gearman >= 0.5.0)
Sinopsisul clasei
GearmanWorker
{
public addServer
([
string $host
= 127.0.0.1
[,
int $port
= 4730
]] ) :
bool
public addServers
(
string $servers
= 127.0.0.1:4730
) :
bool
public clone
(
void
) :
void
public echo
(
string $workload
) :
bool
public error
(
void
) :
string
public register
(
string $function_name
[,
int $timeout
] ) :
bool
public setId
(
string $id
) :
bool
public unregister
(
string $function_name
) :
bool
public wait
(
void
) :
bool
public work
(
void
) :
bool
}
Cuprins