1GEARMAN_WORKER_OPTIONS(3)          Gearmand          GEARMAN_WORKER_OPTIONS(3)
2
3
4

NAME

6       gearman_worker_options - Gearmand Documentation, http://gearman.info/
7

SYNOPSIS

9       #include <libgearman/gearman.h>
10
11       type gearman_worker_options_t
12
13       gearman_worker_options_t gearman_worker_options(const gearman_worker_st
14       *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

DESCRIPTION

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       type 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       type GEARMAN_WORKER_TIMEOUT_RETURN
43
44       Has a return timeout been set for the worker.
45

RETURN VALUE

47       Various
48

HOME

50       To find out more information please check: http://gearman.info/
51
52       SEE ALSO:
53          gearmand(8) libgearman(3)
54

AUTHOR

56       Data Differential http://www.datadifferential.com/
57
59       2011-2014, Data Differential, http://www.datadifferential.com/
60
61
62
63
641.1.20                           Nov 19, 2022        GEARMAN_WORKER_OPTIONS(3)
Impressum