1GEARMAN_CLIENT_SET_OPTIONS(3) Gearmand GEARMAN_CLIENT_SET_OPTIONS(3)
2
3
4
6 gearman_client_set_options - Gearmand Documentation, http://gear‐
7 man.info/
8
10 #include <libgearman/gearman.h>
11
12 gearman_client_options_t
13
14 gearman_client_options_t gearman_client_options(const gear‐
15 man_client_st *client)
16
17 void gearman_client_set_options(gearman_client_st *client,
18 gearman_client_options_t options)
19
20 void gearman_client_add_options(gearman_client_st *client,
21 gearman_client_options_t options)
22
23 void gearman_client_remove_options(gearman_client_st *client,
24 gearman_client_options_t options)
25
26 bool gearman_client_has_option(gearman_client_st *client,
27 gearman_client_options_t option)
28
29 Link with -lgearman
30
32 gearman_client_options() returns the gearman_client_options_t for gear‐
33 man_client_st. You enable options via gearman_client_add_options() and
34 disable options via gearman_client_remove_options().
35
36 gearman_client_set_options() has been DEPRECATED.
37
38 The currently supported options are:
39
40 GEARMAN_CLIENT_NON_BLOCKING
41
42 Run the cient in a non-blocking mode.
43
44 GEARMAN_CLIENT_FREE_TASKS
45
46 Automatically free task objects once they are complete.
47
48 GEARMAN_CLIENT_UNBUFFERED_RESULT
49
50 Allow the client to read data in chunks rather than have the library
51 buffer the entire data result and pass that back.
52
53 GEARMAN_CLIENT_GENERATE_UNIQUE
54
55 Generate a unique id for each task created by generating a UUID.
56
58 Various
59
61 To find out more information please check: http://gearman.info/
62
63 SEE ALSO:
64 gearmand(8) libgearman(3)
65
67 Data Differential http://www.datadifferential.com/
68
70 2011-2014, Data Differential, http://www.datadifferential.com/
71
72
73
74
751.1.18 December 11, 2017 GEARMAN_CLIENT_SET_OPTIONS(3)