PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

The GearmanJob class

(PECL gearman >= 0.5.0)

简介

类摘要

GearmanJob {
/* 方法 */
public complete ( string $result ) : bool
public __construct ( void )
public data ( string $data ) : bool
public exception ( string $exception ) : bool
public fail ( void ) : bool
public functionName ( void ) : string
public handle ( void ) : string
public returnCode ( void ) : int
public sendComplete ( string $result ) : bool
public sendData ( string $data ) : bool
public sendException ( string $exception ) : bool
public sendFail ( void ) : bool
public sendStatus ( int $numerator , int $denominator ) : bool
public sendWarning ( string $warning ) : bool
public setReturn ( int $gearman_return_t ) : bool
public status ( int $numerator , int $denominator ) : bool
public unique ( void ) : string
public warning ( string $warning ) : bool
public workload ( void ) : string
public workloadSize ( void ) : int
}

Table of Contents