Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GEARMAN_WORKER_ADD_SERVERS(3)	   Gearmand	 GEARMAN_WORKER_ADD_SERVERS(3)

NAME
       gearman_worker_add_servers   -	Gearmand  Documentation,  http://gear-
       man.info/

SYNOPSIS
       #include	<libgearman/gearman.h>

       gearman_return_t	  gearman_worker_add_server(gearman_worker_st *worker,
       const char *host, in_port_t port)

       gearman_return_t	 gearman_worker_add_servers(gearman_worker_st *worker,
       const char *servers)

       void gearman_worker_remove_servers(gearman_worker_st *worker)

       Link with -lgearman

DESCRIPTION
       gearman_worker_add_server() will	add an additional gearmand  server  to
       the list	of servers that	the worker will	take work from.

       gearman_worker_remove_servers()	will remove all	servers	from the gear-
       man_worker_st.

       gearman_worker_add_servers() takes a list of gearmand servers that will
       be  parsed  to  provide	servers	for the	worker.	The format for this is
       SERVER[:PORT][,SERVER[:PORT]]...

       Examples	of this	are:

	  10.0.0.1,10.0.0.2,10.0.0.3
	  localhost234,jobserver2.domain.com:7003,10.0.0.3

RETURN VALUE
       gearman_worker_add_server() and gearman_worker_remove_servers()	return
       gearman_return_t.

HOME
       To find out more	information please check: http://gearman.info/

	  See also

		 gearmand ../libgearman	 gearman_worker_st

AUTHOR
       Data Differential http://www.datadifferential.com/

COPYRIGHT
       2011-2013, Data Differential, http://www.datadifferential.com/

1.1.8				 June 06, 2013	 GEARMAN_WORKER_ADD_SERVERS(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | HOME | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gearman_worker_add_servers&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help