Gearman Developer Documentation

Gearman Server Constants

Defines

#define GEARMAN_DEFAULT_BACKLOG   64
#define GEARMAN_DEFAULT_MAX_QUEUE_SIZE   0
#define GEARMAN_SERVER_CON_ID_SIZE   128
#define GEARMAN_JOB_HASH_SIZE   383
#define GEARMAN_MAX_FREE_SERVER_CON   1000
#define GEARMAN_MAX_FREE_SERVER_PACKET   2000
#define GEARMAN_MAX_FREE_SERVER_JOB   1000
#define GEARMAN_MAX_FREE_SERVER_CLIENT   1000
#define GEARMAN_MAX_FREE_SERVER_WORKER   1000
#define GEARMAN_TEXT_RESPONSE_SIZE   8192
#define GEARMAN_PIPE_BUFFER_SIZE   256
#define GEARMAN_CONF_MAX_OPTION_SHORT   128
#define GEARMAN_CONF_DISPLAY_WIDTH   80

Typedefs

typedef void( gearman_server_thread_run_fn )(gearman_server_thread_st *thread, void *context)
typedef gearman_return_tgearman_queue_add_fn )(gearman_server_st *server, void *context, const void *unique, size_t unique_size, const void *function_name, size_t function_name_size, const void *data, size_t data_size, gearman_job_priority_t priority)
typedef gearman_return_tgearman_queue_flush_fn )(gearman_server_st *server, void *context)
typedef gearman_return_tgearman_queue_done_fn )(gearman_server_st *server, void *context, const void *unique, size_t unique_size, const void *function_name, size_t function_name_size)
typedef gearman_return_tgearman_queue_replay_fn )(gearman_server_st *server, void *context, gearman_queue_add_fn *add_fn, void *add_context)
typedef gearman_return_tgearman_con_add_fn )(gearman_con_st *con)

Define Documentation

#define GEARMAN_DEFAULT_BACKLOG   64

Definition at line 27 of file constants.h.

#define GEARMAN_DEFAULT_MAX_QUEUE_SIZE   0

Definition at line 28 of file constants.h.

#define GEARMAN_SERVER_CON_ID_SIZE   128

Definition at line 29 of file constants.h.

#define GEARMAN_JOB_HASH_SIZE   383

Definition at line 30 of file constants.h.

#define GEARMAN_MAX_FREE_SERVER_CON   1000

Definition at line 31 of file constants.h.

#define GEARMAN_MAX_FREE_SERVER_PACKET   2000

Definition at line 32 of file constants.h.

#define GEARMAN_MAX_FREE_SERVER_JOB   1000

Definition at line 33 of file constants.h.

#define GEARMAN_MAX_FREE_SERVER_CLIENT   1000

Definition at line 34 of file constants.h.

#define GEARMAN_MAX_FREE_SERVER_WORKER   1000

Definition at line 35 of file constants.h.

#define GEARMAN_TEXT_RESPONSE_SIZE   8192

Definition at line 36 of file constants.h.

#define GEARMAN_PIPE_BUFFER_SIZE   256

Definition at line 37 of file constants.h.

#define GEARMAN_CONF_MAX_OPTION_SHORT   128

Definition at line 38 of file constants.h.

#define GEARMAN_CONF_DISPLAY_WIDTH   80

Definition at line 39 of file constants.h.


Typedef Documentation

typedef void( gearman_server_thread_run_fn)(gearman_server_thread_st *thread, void *context)

Definition at line 188 of file constants.h.

typedef gearman_return_t( gearman_queue_add_fn)(gearman_server_st *server, void *context, const void *unique, size_t unique_size, const void *function_name, size_t function_name_size, const void *data, size_t data_size, gearman_job_priority_t priority)

Definition at line 191 of file constants.h.

typedef gearman_return_t( gearman_queue_flush_fn)(gearman_server_st *server, void *context)

Definition at line 200 of file constants.h.

typedef gearman_return_t( gearman_queue_done_fn)(gearman_server_st *server, void *context, const void *unique, size_t unique_size, const void *function_name, size_t function_name_size)

Definition at line 202 of file constants.h.

typedef gearman_return_t( gearman_queue_replay_fn)(gearman_server_st *server, void *context, gearman_queue_add_fn *add_fn, void *add_context)

Definition at line 208 of file constants.h.

Definition at line 213 of file constants.h.


Generated on Tue Oct 13 20:19:22 2009 by  doxygen 1.6.1