? GearmanJob::workloadSize
GearmanTask::__construct ?
PHP8中文参考手册
Gearman
The GearmanTask class
The GearmanTask class
(PECL gearman >= 0.5.0)
简介
类摘要
GearmanTask
{
/* 方法 */
public
__construct
( )
public
create
( ) :
GearmanTask
|
false
public
data
( ) :
string
public
dataSize
( ) :
int
public
function
( ) :
string
public
functionName
( ) :
string
public
isKnown
( ) :
bool
public
isRunning
( ) :
bool
public
jobHandle
( ) :
string
public
recvData
(
int
$data_len
) :
array
public
returnCode
( ) :
int
public
sendData
(
string
$data
) :
int
public
sendWorkload
(
string
$data
) :
int
public
taskDenominator
( ) :
int
public
taskNumerator
( ) :
int
public
unique
( ) :
string
public
uuid
( ) :
string
}
Table of Contents
GearmanTask::__construct
— Create a GearmanTask instance
GearmanTask::create
— Create a task (deprecated)
GearmanTask::data
— Get data returned for a task
GearmanTask::dataSize
— Get the size of returned data
GearmanTask::function
— Get associated function name (deprecated)
GearmanTask::functionName
— Get associated function name
GearmanTask::isKnown
— Determine if task is known
GearmanTask::isRunning
— Test whether the task is currently running
GearmanTask::jobHandle
— Get the job handle
GearmanTask::recvData
— Read work or result data into a buffer for a task
GearmanTask::returnCode
— Get the last return code
GearmanTask::sendData
— Send data for a task (deprecated)
GearmanTask::sendWorkload
— Send data for a task
GearmanTask::taskDenominator
— Get completion percentage denominator
GearmanTask::taskNumerator
— Get completion percentage numerator
GearmanTask::unique
— Get the unique identifier for a task
GearmanTask::uuid
— Get the unique identifier for a task (deprecated)
User Contributed Notes
There are no user contributed notes for this page.
PHP8中文手册
由
站长在线
整理 版权归PHP文档组所有