Better PHP Documentation
opinionated
Open main menu
Get Started
Documentation
Community
Training
Better PHP Documentation
Close menu
Get Started
Documentation
Community
Training
Log in
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
La clase GearmanTask
(PECL gearman >= 0.5.0)
Introducción
Sinopsis de la Clase
class
GearmanTask
{
/* Métodos */
public
function
__construct
()
public
function
data
():
false
|
string
public
function
dataSize
():
int
|
false
public
function
functionName
():
false
|
string
public
function
isKnown
():
bool
public
function
isRunning
():
bool
public
function
jobHandle
():
false
|
string
public
function
recvData
(
int
$data_len
):
false
|
array
public
function
returnCode
():
int
public
function
sendWorkload
(
string
$data
):
int
|
false
public
function
taskDenominator
():
false
|
int
public
function
taskNumerator
():
false
|
int
public
function
unique
():
false
|
string
}
Tabla de contenidos
GearmanTask::__construct
— Crea una instancia GearmanTask
GearmanTask::create
— Crea una tarea (deprecado)
GearmanTask::data
— Recupera los datos devueltos por una tarea
GearmanTask::dataSize
— Obtiene el tamaño de los datos devueltos
GearmanTask::function
— Obtiene el nombre de la función asociada (obsoleto)
GearmanTask::functionName
— Obtiene el nombre de la función asociada
GearmanTask::isKnown
— Verifica si una tarea es conocida
GearmanTask::isRunning
— Verifica si la tarea está actualmente en funcionamiento
GearmanTask::jobHandle
— Obtiene el manejador de trabajos
GearmanTask::recvData
— Lee el trabajo o los datos devueltos por una tarea en un buffer
GearmanTask::returnCode
— Obtiene el último código devuelto
GearmanTask::sendData
— Envía datos para una tarea (deprecado)
GearmanTask::sendWorkload
— Envía los datos para una tarea
GearmanTask::taskDenominator
— Obtiene el denominador de la tasa de realización
GearmanTask::taskNumerator
— Obtiene el numerador de la tasa de realización
GearmanTask::unique
— Obtiene el identificador único de la tarea
GearmanTask::uuid
— Recupera el identificador único para una tarea (obsoleto)
Found A Problem?
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
0
pcntl_sigtimedwait
Waits for signals, with a timeout
0
similar_text
Calculate the similarity between two strings
0
boolval
Get the boolean value of a variable
0
curl_multi_close
Close a set of cURL handles
0
imap_body
Read the message body
0
mb_strpos
Find position of first occurrence of string in a string
0
pg_send_prepare
Sends a request to create a prepared statement with the given parameters, without waiting for completion
0
swoole_native_socket_bind
0
Arr::prependKeysWith
0
zend_version
Gets the version of the current Zend engine
^