gearman_client_job_status

Langue: en

Version: 273900 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

gearman_client_job_status - Single Task Interface

SYNOPSIS

#include <libgearman/gearman.h>

gearman_return_t gearman_client_job_status(gearman_client_st *client, const char *job_handle, bool *is_known, bool *is_running, uint32_t *numerator, uint32_t *denominator);

DESCRIPTION

Get the status for a backgound job.

PARAMETERS

client
Client structure previously initialized with gearman_client_create or gearman_client_clone.
job_handle
The job handle you want status for.
is_known
Optional parameter to store the known status in.
is_running
Optional parameter to store the running status in.
numerator
Optional parameter to store the percent complete numerator in.
denominator
Optional parameter to store the percent complete denominator in.

RETURN VALUE

Standard gearman return value.

SEE ALSO

The Gearman homepage: http://www.gearman.org/

BUGS

Bugs should be reported at https://bugs.launchpad.net/gearmand

COPYING

Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.

Use and distribution licensed under the BSD license. See the COPYING file in the original source for full text.