downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

GearmanWorker::addFunction> <GearmanTask::uuid
Last updated: Fri, 20 Nov 2009

view this page in

The GearmanWorker class

Introduction

Description of the class.

Class synopsis

GearmanWorker
GearmanWorker {
/* Methods */
public boolean addFunction ( string $function_name , callback $function [, mixed &$context [, integer $timeout ]] )
public boolean addOptions ( integer $option )
public boolean addServer ([ string $host = 127.0.0.1 [, integer $port = 4730 ]] )
public boolean addServers ( string $servers = 127.0.0.1:4730 )
public void clone ( void )
__construct ( void )
public boolean echo ( string $workload )
public string error ( void )
public integer getErrno ( void )
public integer options ( void )
public boolean register ( string $function_name [, integer $timeout ] )
public boolean removeOptions ( integer $option )
public integer returnCode ( void )
public boolean setOptions ( integer $option )
public boolean setOptions ( integer $timeout )
public integer timeout ( void )
public boolean unregister ( string $function_name )
public boolean unregisterAll ( void )
public boolean wait ( void )
public boolean work ( void )
}

Table of Contents



add a note add a note User Contributed Notes
GearmanWorker
There are no user contributed notes for this page.

GearmanWorker::addFunction> <GearmanTask::uuid
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites