1GEARMAN_CLIENT_ADD_SERVER(3)       Gearmand       GEARMAN_CLIENT_ADD_SERVER(3)
2
3
4

NAME

6       gearman_client_add_server   -   Gearmand   Documentation,  http://gear
7       man.info/
8

SYNOPSIS

10       #include <libgearman/gearman.h>
11
12       gearman_return_t  gearman_client_add_server(gearman_client_st  *client,
13       const char *host, in_port_t port)
14
15       gearman_return_t  gearman_client_add_servers(gearman_client_st *client,
16       const char *servers)
17
18       void gearman_client_remove_servers(gearman_client_st *client)
19

DESCRIPTION

21       gearman_client_add_server() will add an additional gearmand  server  to
22       the list of servers that the client will take work from.
23
24       gearman_client_remove_servers()  will remove all servers from the gear‐
25       man_client_st.
26
27       gearman_client_add_servers() takes a list of gearmand servers that will
28       be  parsed  to  provide  servers for the client. The format for this is
29       SERVER[:PORT][,SERVER[:PORT]]...
30
31       Examples of this are::
32              10.0.0.1,10.0.0.2,10.0.0.3           localhost234,jobserver2.do‐
33              main.com:7003,10.0.0.3
34

RETURN VALUE

36       gearman_client_add_server()  and gearman_client_remove_servers() return
37       gearman_return_t.
38

HOME

40       To find out more information please check: http://gearman.info/
41
42       SEE ALSO:
43          gearmand(8) libgearman(3) gearman_client_st
44

AUTHOR

46       Data Differential http://www.datadifferential.com/
47
49       2011-2014, Data Differential, http://www.datadifferential.com/
50
51
52
53
541.1.20                           Nov 19, 2022     GEARMAN_CLIENT_ADD_SERVER(3)
Impressum