gearman_client_options_t - Gearmand Documentation, http://gearman.info/
Contents
Copyright
2011-2014, Data Differential, http://www.datadifferential.com/
1.1.20+ds Mar 19, 2025 GEARMAN_CLIENT_OPTIONS_T(3)
Description
gearman_client_options() returns the gearman_client_options_t for gearman_client_st. You enable options
via gearman_client_add_options() and disable options via gearman_client_remove_options().
gearman_client_set_options() has been DEPRECATED.
The currently supported options are:
typeGEARMAN_CLIENT_NON_BLOCKING
Run the cient in a non-blocking mode.
typeGEARMAN_CLIENT_FREE_TASKS
Automatically free task objects once they are complete.
typeGEARMAN_CLIENT_UNBUFFERED_RESULT
Allow the client to read data in chunks rather than have the library buffer the entire data result and
pass that back.
typeGEARMAN_CLIENT_GENERATE_UNIQUE
Generate a unique id for each task created by generating a UUID.
Home
To find out more information please check: http://gearman.info/SEEALSO:gearmand(8)libgearman(3)Name
gearman_client_options_t - Gearmand Documentation, http://gearman.info/Return Value
Various
Synopsis
#include <libgearman/gearman.h>
typegearman_client_options_tgearman_client_options_tgearman_client_options(constgearman_client_st*client)voidgearman_client_set_options(gearman_client_st*client,gearman_client_options_toptions)voidgearman_client_add_options(gearman_client_st*client,gearman_client_options_toptions)voidgearman_client_remove_options(gearman_client_st*client,gearman_client_options_toptions)boolgearman_client_has_option(gearman_client_st*client,gearman_client_options_toption)
Link with -lgearman
