update : 2015.11.03
php.shukuma.com검색:
|
The GearmanClient class(PECL gearman >= 0.5.0) 소개Represents a class for connecting to a Gearman job server and making requests to perform some function on provided data. The function performed must be one registered by a Gearman worker and the data passed is opaque to the job server. 클래스 개요
GearmanClient
{
/* 메소드 */
public GearmanTask addTask
( string
$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )
public GearmanTask addTaskBackground
( string
$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )
public GearmanTask addTaskHigh
( string
$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )
public GearmanTask addTaskHighBackground
( string
$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )
public GearmanTask addTaskLow
( string
$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )
public GearmanTask addTaskLowBackground
( string
}$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )Table of Contents
|