1
.TH "GEARMAN_WORKER_OPTIONS" "3" "September 14, 2012" "0.38" "Gearmand"
3
gearman_worker_options \- Gearmand Documentation, http://gearman.info/
5
.nr rst2man-indent-level 0
9
level \\n[rst2man-indent-level]
10
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17
.\" .rstReportMargin pre:
19
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20
. nr rst2man-indent-level +1
21
.\" .rstReportMargin post:
25
.\" indent \\n[an-margin]
26
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27
.nr rst2man-indent-level -1
28
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31
.\" Man page generated from reStructeredText.
35
#include <libgearman/gearman.h>
38
.B gearman_worker_options_t
42
.B \fI\%gearman_worker_options_t\fP gearman_worker_options(const gearman_worker_st\fI\ *worker\fP)
46
.B void gearman_worker_add_options(gearman_worker_st\fI\ *worker\fP, \fI\%gearman_worker_options_t\fP\fI\ options\fP)
50
.B void gearman_worker_remove_options(gearman_worker_st\fI\ *worker\fP, \fI\%gearman_worker_options_t\fP\fI\ options\fP)
54
.B void gearman_worker_set_options(gearman_worker_st\fI\ *worker\fP, \fI\%gearman_worker_options_t\fP\fI\ options\fP)
57
Deprecated since version 0.21.
60
\fI\%gearman_worker_options()\fP returns the \fI\%gearman_worker_options_t\fP for \fBgearman_worker_st\fP. You enable options via \fI\%gearman_worker_add_options()\fP and disable options via \fI\%gearman_worker_remove_options()\fP.
62
The currently supported options are:
64
Enable non\-block IO for the worker.
67
.B GEARMAN_WORKER_GRAB_UNIQ
70
Only grab jobs that have been assigned unique values. This is useful for workers who only want to worker with background jobs.
73
.B GEARMAN_WORKER_TIMEOUT_RETURN
76
Has a return timeout been set for the worker.
82
To find out more information please check:
83
\fI\%http://gearman.info/\fP
86
\fIgearmand(8)\fP \fIlibgearman(3)\fP
89
Data Differential http://www.datadifferential.com/
91
2012, Data Differential, http://www.datadifferential.com/
92
.\" Generated by docutils manpage writer.