Новости
Фотогалерея
Портфолио
Система управления сайтом
Справочник: PHP5.4
Скрипты
Контакты
Введите условия поиска
Отправить форму поиска
Web
mihakot.ru
GearmanClient::timeout
GearmanJob::complete
Gearman
PHP Manual
Класс GearmanJob
(Информация о версии неизвестна, возможно, только в SVN)
Введение
Обзор классов
GearmanJob
{
/* Методы */
public
bool
complete
(
string
$result
)
public
__construct
(
void
)
public
bool
data
(
string
$data
)
public
bool
exception
(
string
$exception
)
public
bool
fail
(
void
)
public
string
functionName
(
void
)
public
string
handle
(
void
)
public
int
returnCode
(
void
)
public
bool
sendComplete
(
string
$result
)
public
bool
sendData
(
string
$data
)
public
bool
sendException
(
string
$exception
)
public
bool
sendFail
(
void
)
public
bool
sendStatus
(
int
$numerator
,
int
$denominator
)
public
bool
sendWarning
(
string
$warning
)
public
bool
setReturn
(
int
$gearman_return_t
)
public
bool
status
(
int
$numerator
,
int
$denominator
)
public
string
unique
(
void
)
public
bool
warning
(
string
$warning
)
public
string
workload
(
void
)
public
int
workloadSize
(
void
)
}
Содержание
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
GearmanClient::timeout
GearmanJob::complete
Gearman
PHP Manual
2004-2024 © MihaKot
Дизайн и программирование