« GearmanJob::workloadSize
GearmanTask::__construct »
PHP Manual
Gearman
The GearmanTask class
The GearmanTask class
(PECL gearman >= 0.5.0)
Giriş
Sınıf Sözdizimi
GearmanTask
{
/* Yöntemler */
public
__construct
(
void
)
public
create
(
void
) :
GearmanTask
public
data
(
void
) :
string
public
dataSize
(
void
) :
int
public
function
(
void
) :
string
public
functionName
(
void
) :
string
public
isKnown
(
void
) :
bool
public
isRunning
(
void
) :
bool
public
jobHandle
(
void
) :
string
public
recvData
(
int
$data_len
) :
array
public
returnCode
(
void
) :
int
public
sendData
(
string
$data
) :
int
public
sendWorkload
(
string
$data
) :
int
public
taskDenominator
(
void
) :
int
public
taskNumerator
(
void
) :
int
public
unique
(
void
) :
string
public
uuid
(
void
) :
string
}
İçindekiler
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)