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 classe GearmanTask
(PECL gearman >= 0.5.0)
Introduction
Synopsis de la classe
class
GearmanTask
{
/* Méthodes */
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
}
Sommaire
GearmanTask::__construct
— Crée une instance GearmanTask
GearmanTask::create
— Crée une tâche (obsolète)
GearmanTask::data
— Récupère les données retournées par une tâche
GearmanTask::dataSize
— Récupère la taille des données retournées
GearmanTask::function
— Récupère le nom de la fonction associée (obsolète)
GearmanTask::functionName
— Récupère le nom de la fonction associée
GearmanTask::isKnown
— Vérifie si une tâche est connue
GearmanTask::isRunning
— Vérifie si la tâche est actuellement en fonctionnement
GearmanTask::jobHandle
— Récupère le gestionnaire de travaux
GearmanTask::recvData
— Lit le travail ou les données retournées par une tâche dans un buffer
GearmanTask::returnCode
— Récupère le dernier code retourné
GearmanTask::sendData
— Envoie des données pour une tâche (obsolète)
GearmanTask::sendWorkload
— Envoie les données pour une tâche
GearmanTask::taskDenominator
— Récupère le dénominateur du taux de réalisation
GearmanTask::taskNumerator
— Récupère le numérateur du taux de réalisation
GearmanTask::unique
— Récupère l'identifiant unique de la tâche
GearmanTask::uuid
— Récupère l'identifiant unique pour une tâche (obsolète)
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
^