[ class tree: Net_Gearman ] [ index: Net_Gearman ] [ all elements ]

Class: Net_Gearman_Job

Source Location: /Net_Gearman-0.2.3/Net/Gearman/Job.php

Class Overview

Job creation class



  • 2007-2008, Inc.


Inherited Variables

Inherited Methods

Class Details

[line 49]
Job creation class

[ Top ]

Method Detail

factory   [line 67]

object Instance factory( string $job, object $conn, string $handle)

Create an instance of a job

The Net_Geraman_Worker class creates connections to multiple job servers and then fires off jobs using this function. It hands off the connection which made the request for the job so that the job can communicate its status from there on out.

  • Return: of Net_Gearman_Job_Common child
  • See: Net_Gearman_Job_Common
  • Throws: Net_Gearman_Exception
  • Access: public


string   $job     Name of job (func in Gearman terms)
object   $conn     Instance of Net_Gearman_Connection
string   $handle     Gearman job handle of job

[ Top ]

Documentation generated on Wed, 22 Apr 2009 21:30:03 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.