©
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
(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.
$options
)$host
= 127.0.0.1
[, int $port
= 4730
]] )$servers
= 127.0.0.1:4730
] )$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )$function_name
, string $workload
[, mixed &$context
[, string $unique
]] )$job_handle
[, string &$context
] )$function_name
, string $workload
[, string $unique
] )$function_name
, string $workload
[, string $unique
] )$function_name
, string $workload
[, string $unique
] )$function_name
, string $workload
[, string $unique
] )$function_name
, string $workload
[, string $unique
] )$function_name
, string $workload
[, string $unique
] )$function_name
, string $workload
[, string $unique
] )$workload
)$job_handle
)$workload
)$options
)$callback
)$callback
)$context
)$callback
)$data
)$callback
)$callback
)$callback
)$options
)$callback
)$timeout
)$callback
)$callback
)