ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying gearman client for operations not wrapped here.
Submit a job for the named function (queue). The payload is
JSON-serialized (strings pass through). Returns the job handle/id the
server assigns (job.handle if the driver returns a job object).
Register a worker handler for the named function (queue). The driver
invokes handler(job) for each dispatched task. Falls back to
addFunction() when the driver has no registerWorker().
Query the status of a submitted job by its handle/id.
Cancel/forget a submitted job by its handle/id.
Return job-server status (registered functions, queued/running counts).
Optional_queue: string
GearmanStorewraps a singlegearmanclient and exposes the common queue surface over Gearman functions:enqueue()submits a job,process()registers a worker handler, and job status/removal/stats route to the driver's corresponding calls.