gearman_job_send_complete
Gearmand Documentation, http://gearman.info/
- Provided by: libgearman-dev (Version: 1.0.6-5.1build2)
- Source: gearmand
- Report a bug
Gearmand Documentation, http://gearman.info/
#include <libgearman/gearman.h>
Link with -lgearman
gearman_job_st are passed to worker functions to represent jobs that are being run by gearman_worker_work().
gearman_job_free() is used to free a job. This only needs to be done if a task was created with a preallocated structure.
gearman_job_handle() returns the job handle(see gearman_job_handle_t for more information).
gearman_job_function_name() return the name of the function that the job was set to execute against.
gearman_job_unique() return the unique value that was used for gearman_job_st.
returns the gearman_job_st workload. The size of it can be determined with gearman_job_workload_size(). gearman_job_take_workload() is the same as gearman_job_workload() with the exception that the result must be free(3) by the caller.
gearman_worker_grab_job() Takes a job from one of the job servers. It is the responsibility of the caller to free the job once they are done. This interface is used in testing, and is very rarely the correct interface to program against.
A value of gearman_return_t is returned. On success that value will be :c:type::GEARMAN_SUCCESS. Use gearman_strerror() to translate this value to a printable string.
To find out more information please check: http://gearman.info/
Data Differential http://www.datadifferential.com/
2011-2013, Data Differential, http://www.datadifferential.com/