1GEARMAN_WORKER_OPTIONS(3) Gearmand GEARMAN_WORKER_OPTIONS(3)
2
3
4
6 gearman_worker_options - Gearmand Documentation, http://gearman.info/
7
9 #include <libgearman/gearman.h>
10
11 gearman_worker_options_t
12
13 gearman_worker_options_t gearman_worker_options(const gear‐
14 man_worker_st *worker)
15
16 void gearman_worker_add_options(gearman_worker_st *worker,
17 gearman_worker_options_t options)
18
19 void gearman_worker_remove_options(gearman_worker_st *worker,
20 gearman_worker_options_t options)
21
22 void gearman_worker_set_options(gearman_worker_st *worker,
23 gearman_worker_options_t options)
24
25 Deprecated since version 0.21.
26
27
29 gearman_worker_options() returns the gearman_worker_options_t for gear‐
30 man_worker_st. You enable options via gearman_worker_add_options() and
31 disable options via gearman_worker_remove_options().
32
33 The currently supported options are:
34
35 Enable non-block IO for the worker.
36
37 GEARMAN_WORKER_GRAB_UNIQ
38
39 Only grab jobs that have been assigned unique values. This is useful
40 for workers who only want to worker with background jobs.
41
42 GEARMAN_WORKER_TIMEOUT_RETURN
43
44 Has a return timeout been set for the worker.
45
47 Various
48
50 To find out more information please check: http://gearman.info/
51
52 SEE ALSO:
53 gearmand(8) libgearman(3)
54
56 Data Differential http://www.datadifferential.com/
57
59 2011-2014, Data Differential, http://www.datadifferential.com/
60
61
62
63
641.1.19.1 Feb 18, 2020 GEARMAN_WORKER_OPTIONS(3)