PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

GearmanWorker::register - Register a function with the job server | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

GearmanWorker::register

(PECL gearman >= 0.6.0)

GearmanWorker::registerRegister a function with the job server

説明

public bool GearmanWorker::register ( string $function_name [, int $timeout ] )

Registers a function name with the job server with an optional timeout. The timeout specifies how many seconds the server will wait before marking a job as failed. If the timeout is set to zero, there is no timeout.

パラメータ

function_name

The name of a function to register with the job server

timeout

An interval of time in seconds

返り値

A standard Gearman return value.

参考


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「GearmanWorker::register - Register a function with the job server」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | GearmanWorker::register - Register a function with the job server」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: