« GearmanClient::wait
GearmanJob::complete »
PHP Manual
Gearman
The GearmanJob class
検索
The GearmanJob class
(PECL gearman >= 0.5.0)
はじめに
クラス概要
class
GearmanJob
{
/* メソッド */
public
function
functionName
():
false
|
string
public
function
handle
():
false
|
string
public
function
returnCode
():
int
public
function
sendComplete
(
string
$result
):
bool
public
function
sendData
(
string
$data
):
bool
public
function
sendException
(
string
$exception
):
bool
public
function
sendFail
():
bool
public
function
sendStatus
(
int
$numerator
,
int
$denominator
):
bool
public
function
sendWarning
(
string
$warning
):
bool
public
function
setReturn
(
int
$gearman_return_t
):
bool
public
function
unique
():
false
|
string
public
function
workload
():
string
public
function
workloadSize
():
int
}
目次
GearmanJob::complete
— Send the result and complete status (deprecated)
GearmanJob::__construct
— Create a GearmanJob instance
GearmanJob::data
— Send data for a running job (deprecated)
GearmanJob::exception
— Send exception for running job (deprecated)
GearmanJob::fail
— Send fail status (deprecated)
GearmanJob::functionName
— Get function name
GearmanJob::handle
— Get the job handle
GearmanJob::returnCode
— Get last return code
GearmanJob::sendComplete
— Send the result and complete status
GearmanJob::sendData
— Send data for a running job
GearmanJob::sendException
— Send exception for running job (exception)
GearmanJob::sendFail
— Send fail status
GearmanJob::sendStatus
— Send status
GearmanJob::sendWarning
— Send a warning
GearmanJob::setReturn
— Set a return value
GearmanJob::status
— Send status (deprecated)
GearmanJob::unique
— Get the unique identifier
GearmanJob::warning
— Send a warning (deprecated)
GearmanJob::workload
— Get workload
GearmanJob::workloadSize
— Get size of work load
関連キーワード:
GearmanJob
Send
status
deprecated
exception
complete
warning
running
handle
return
unique
workload
fail
gearman
functionName
returnCode
sendComplete
sendData
sendException
sendFail
sendStatus
sendWarning
setReturn
workloadSize
GearmanClient
関連する関数・ページ:
gearmanjob.sendwarning
gearmanjob.sendfail
gearmanjob.warning
gearmanjob.fail
gearmanjob.exception
gearmanjob.sendcomplete