GearmanJob::workloadSize
GearmanTask::__construct
Gearman
PHP Manual
The GearmanTask class
(No version information available, might only be in SVN)
Wstęp
Krótki opis klasy
GearmanTask
{
/* Metody */
public
__construct
(
void
)
public
GearmanTask
create
(
void
)
public
string
data
(
void
)
public
int
dataSize
(
void
)
public
string
function
(
void
)
public
string
functionName
(
void
)
public
bool
isKnown
(
void
)
public
bool
isRunning
(
void
)
public
string
jobHandle
(
void
)
public
array
recvData
(
int
$data_len
)
public
int
returnCode
(
void
)
public
int
sendData
(
string
$data
)
public
int
sendWorkload
(
string
$data
)
public
int
taskDenominator
(
void
)
public
int
taskNumerator
(
void
)
public
string
unique
(
void
)
public
string
uuid
(
void
)
}
Spis treści
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)
GearmanJob::workloadSize
GearmanTask::__construct
Gearman
PHP Manual