Extension [ extension #72 gearman version 2.1.2 ] { - Constants [157] { Constant [ string GEARMAN_DEFAULT_TCP_HOST ] { localhost } Constant [ int GEARMAN_DEFAULT_TCP_PORT ] { 4730 } Constant [ int GEARMAN_DEFAULT_SOCKET_TIMEOUT ] { 10 } Constant [ int GEARMAN_DEFAULT_SOCKET_SEND_SIZE ] { 32768 } Constant [ int GEARMAN_DEFAULT_SOCKET_RECV_SIZE ] { 32768 } Constant [ int GEARMAN_MAX_ERROR_SIZE ] { 2048 } Constant [ int GEARMAN_PACKET_HEADER_SIZE ] { 12 } Constant [ int GEARMAN_JOB_HANDLE_SIZE ] { 64 } Constant [ int GEARMAN_OPTION_SIZE ] { 64 } Constant [ int GEARMAN_UNIQUE_SIZE ] { 64 } Constant [ int GEARMAN_MAX_COMMAND_ARGS ] { 8 } Constant [ int GEARMAN_ARGS_BUFFER_SIZE ] { 128 } Constant [ int GEARMAN_SEND_BUFFER_SIZE ] { 8192 } Constant [ int GEARMAN_RECV_BUFFER_SIZE ] { 8192 } Constant [ int GEARMAN_WORKER_WAIT_TIMEOUT ] { 10000 } Constant [ int GEARMAN_SUCCESS ] { 0 } Constant [ int GEARMAN_IO_WAIT ] { 1 } Constant [ int GEARMAN_SHUTDOWN ] { 2 } Constant [ int GEARMAN_SHUTDOWN_GRACEFUL ] { 3 } Constant [ int GEARMAN_ERRNO ] { 4 } Constant [ int GEARMAN_EVENT ] { 5 } Constant [ int GEARMAN_TOO_MANY_ARGS ] { 6 } Constant [ int GEARMAN_NO_ACTIVE_FDS ] { 7 } Constant [ int GEARMAN_INVALID_MAGIC ] { 8 } Constant [ int GEARMAN_INVALID_COMMAND ] { 9 } Constant [ int GEARMAN_INVALID_PACKET ] { 10 } Constant [ int GEARMAN_UNEXPECTED_PACKET ] { 11 } Constant [ int GEARMAN_GETADDRINFO ] { 12 } Constant [ int GEARMAN_NO_SERVERS ] { 13 } Constant [ int GEARMAN_LOST_CONNECTION ] { 14 } Constant [ int GEARMAN_MEMORY_ALLOCATION_FAILURE ] { 15 } Constant [ int GEARMAN_JOB_EXISTS ] { 16 } Constant [ int GEARMAN_JOB_QUEUE_FULL ] { 17 } Constant [ int GEARMAN_SERVER_ERROR ] { 18 } Constant [ int GEARMAN_WORK_ERROR ] { 19 } Constant [ int GEARMAN_WORK_DATA ] { 20 } Constant [ int GEARMAN_WORK_WARNING ] { 21 } Constant [ int GEARMAN_WORK_STATUS ] { 22 } Constant [ int GEARMAN_WORK_EXCEPTION ] { 23 } Constant [ int GEARMAN_WORK_FAIL ] { 24 } Constant [ int GEARMAN_NOT_CONNECTED ] { 25 } Constant [ int GEARMAN_COULD_NOT_CONNECT ] { 26 } Constant [ int GEARMAN_SEND_IN_PROGRESS ] { 27 } Constant [ int GEARMAN_RECV_IN_PROGRESS ] { 28 } Constant [ int GEARMAN_NOT_FLUSHING ] { 29 } Constant [ int GEARMAN_DATA_TOO_LARGE ] { 30 } Constant [ int GEARMAN_INVALID_FUNCTION_NAME ] { 31 } Constant [ int GEARMAN_INVALID_WORKER_FUNCTION ] { 32 } Constant [ int GEARMAN_NO_REGISTERED_FUNCTIONS ] { 34 } Constant [ int GEARMAN_NO_JOBS ] { 35 } Constant [ int GEARMAN_ECHO_DATA_CORRUPTION ] { 36 } Constant [ int GEARMAN_NEED_WORKLOAD_FN ] { 37 } Constant [ int GEARMAN_PAUSE ] { 38 } Constant [ int GEARMAN_UNKNOWN_STATE ] { 39 } Constant [ int GEARMAN_PTHREAD ] { 40 } Constant [ int GEARMAN_PIPE_EOF ] { 41 } Constant [ int GEARMAN_QUEUE_ERROR ] { 42 } Constant [ int GEARMAN_FLUSH_DATA ] { 43 } Constant [ int GEARMAN_SEND_BUFFER_TOO_SMALL ] { 44 } Constant [ int GEARMAN_IGNORE_PACKET ] { 45 } Constant [ int GEARMAN_UNKNOWN_OPTION ] { 46 } Constant [ int GEARMAN_TIMEOUT ] { 47 } Constant [ int GEARMAN_MAX_RETURN ] { 53 } Constant [ int GEARMAN_VERBOSE_FATAL ] { 1 } Constant [ int GEARMAN_VERBOSE_ERROR ] { 2 } Constant [ int GEARMAN_VERBOSE_INFO ] { 3 } Constant [ int GEARMAN_VERBOSE_DEBUG ] { 4 } Constant [ int GEARMAN_VERBOSE_CRAZY ] { 5 } Constant [ int GEARMAN_VERBOSE_MAX ] { 6 } Constant [ int GEARMAN_NON_BLOCKING ] { 0 } Constant [ int GEARMAN_DONT_TRACK_PACKETS ] { 1 } Constant [ int GEARMAN_CON_READY ] { 0 } Constant [ int GEARMAN_CON_PACKET_IN_USE ] { 1 } Constant [ int GEARMAN_CON_EXTERNAL_FD ] { 2 } Constant [ int GEARMAN_CON_IGNORE_LOST_CONNECTION ] { 3 } Constant [ int GEARMAN_CON_CLOSE_AFTER_FLUSH ] { 4 } Constant [ int GEARMAN_CON_SEND_STATE_NONE ] { 0 } Constant [ int GEARMAN_CON_RECV_STATE_READ_DATA ] { 2 } Constant [ int GEARMAN_COMMAND_TEXT ] { 0 } Constant [ int GEARMAN_COMMAND_CAN_DO ] { 1 } Constant [ int GEARMAN_COMMAND_CANT_DO ] { 2 } Constant [ int GEARMAN_COMMAND_RESET_ABILITIES ] { 3 } Constant [ int GEARMAN_COMMAND_PRE_SLEEP ] { 4 } Constant [ int GEARMAN_COMMAND_UNUSED ] { 5 } Constant [ int GEARMAN_COMMAND_NOOP ] { 6 } Constant [ int GEARMAN_COMMAND_SUBMIT_JOB ] { 7 } Constant [ int GEARMAN_COMMAND_JOB_CREATED ] { 8 } Constant [ int GEARMAN_COMMAND_GRAB_JOB ] { 9 } Constant [ int GEARMAN_COMMAND_NO_JOB ] { 10 } Constant [ int GEARMAN_COMMAND_JOB_ASSIGN ] { 11 } Constant [ int GEARMAN_COMMAND_WORK_STATUS ] { 12 } Constant [ int GEARMAN_COMMAND_WORK_COMPLETE ] { 13 } Constant [ int GEARMAN_COMMAND_WORK_FAIL ] { 14 } Constant [ int GEARMAN_COMMAND_GET_STATUS ] { 15 } Constant [ int GEARMAN_COMMAND_ECHO_REQ ] { 16 } Constant [ int GEARMAN_COMMAND_ECHO_RES ] { 17 } Constant [ int GEARMAN_COMMAND_SUBMIT_JOB_BG ] { 18 } Constant [ int GEARMAN_COMMAND_ERROR ] { 19 } Constant [ int GEARMAN_COMMAND_STATUS_RES ] { 20 } Constant [ int GEARMAN_COMMAND_SUBMIT_JOB_HIGH ] { 21 } Constant [ int GEARMAN_COMMAND_SET_CLIENT_ID ] { 22 } Constant [ int GEARMAN_COMMAND_CAN_DO_TIMEOUT ] { 23 } Constant [ int GEARMAN_COMMAND_ALL_YOURS ] { 24 } Constant [ int GEARMAN_COMMAND_WORK_EXCEPTION ] { 25 } Constant [ int GEARMAN_COMMAND_OPTION_REQ ] { 26 } Constant [ int GEARMAN_COMMAND_OPTION_RES ] { 27 } Constant [ int GEARMAN_COMMAND_WORK_DATA ] { 28 } Constant [ int GEARMAN_COMMAND_WORK_WARNING ] { 29 } Constant [ int GEARMAN_COMMAND_GRAB_JOB_UNIQ ] { 30 } Constant [ int GEARMAN_COMMAND_JOB_ASSIGN_UNIQ ] { 31 } Constant [ int GEARMAN_COMMAND_SUBMIT_JOB_HIGH_BG ] { 32 } Constant [ int GEARMAN_COMMAND_SUBMIT_JOB_LOW ] { 33 } Constant [ int GEARMAN_COMMAND_SUBMIT_JOB_LOW_BG ] { 34 } Constant [ int GEARMAN_COMMAND_SUBMIT_JOB_SCHED ] { 35 } Constant [ int GEARMAN_COMMAND_SUBMIT_JOB_EPOCH ] { 36 } Constant [ int GEARMAN_COMMAND_MAX ] { 43 } Constant [ int GEARMAN_TASK_STATE_NEW ] { 0 } Constant [ int GEARMAN_TASK_STATE_SUBMIT ] { 1 } Constant [ int GEARMAN_TASK_STATE_WORKLOAD ] { 2 } Constant [ int GEARMAN_TASK_STATE_WORK ] { 3 } Constant [ int GEARMAN_TASK_STATE_CREATED ] { 4 } Constant [ int GEARMAN_TASK_STATE_DATA ] { 5 } Constant [ int GEARMAN_TASK_STATE_WARNING ] { 6 } Constant [ int GEARMAN_TASK_STATE_STATUS ] { 7 } Constant [ int GEARMAN_TASK_STATE_COMPLETE ] { 8 } Constant [ int GEARMAN_TASK_STATE_EXCEPTION ] { 9 } Constant [ int GEARMAN_TASK_STATE_FAIL ] { 10 } Constant [ int GEARMAN_TASK_STATE_FINISHED ] { 11 } Constant [ int GEARMAN_JOB_PRIORITY_HIGH ] { 0 } Constant [ int GEARMAN_JOB_PRIORITY_NORMAL ] { 1 } Constant [ int GEARMAN_JOB_PRIORITY_LOW ] { 2 } Constant [ int GEARMAN_JOB_PRIORITY_MAX ] { 3 } Constant [ int GEARMAN_CLIENT_ALLOCATED ] { 1 } Constant [ int GEARMAN_CLIENT_NON_BLOCKING ] { 2 } Constant [ int GEARMAN_CLIENT_TASK_IN_USE ] { 4 } Constant [ int GEARMAN_CLIENT_UNBUFFERED_RESULT ] { 8 } Constant [ int GEARMAN_CLIENT_NO_NEW ] { 16 } Constant [ int GEARMAN_CLIENT_FREE_TASKS ] { 32 } Constant [ int GEARMAN_CLIENT_STATE_IDLE ] { 0 } Constant [ int GEARMAN_CLIENT_STATE_NEW ] { 1 } Constant [ int GEARMAN_CLIENT_STATE_SUBMIT ] { 2 } Constant [ int GEARMAN_CLIENT_STATE_PACKET ] { 3 } Constant [ int GEARMAN_WORKER_ALLOCATED ] { 1 } Constant [ int GEARMAN_WORKER_NON_BLOCKING ] { 2 } Constant [ int GEARMAN_WORKER_PACKET_INIT ] { 4 } Constant [ int GEARMAN_WORKER_GRAB_JOB_IN_USE ] { 8 } Constant [ int GEARMAN_WORKER_PRE_SLEEP_IN_USE ] { 16 } Constant [ int GEARMAN_WORKER_WORK_JOB_IN_USE ] { 32 } Constant [ int GEARMAN_WORKER_CHANGE ] { 64 } Constant [ int GEARMAN_WORKER_GRAB_UNIQ ] { 128 } Constant [ int GEARMAN_WORKER_TIMEOUT_RETURN ] { 256 } Constant [ int GEARMAN_WORKER_STATE_START ] { 0 } Constant [ int GEARMAN_WORKER_STATE_FUNCTION_SEND ] { 1 } Constant [ int GEARMAN_WORKER_STATE_CONNECT ] { 2 } Constant [ int GEARMAN_WORKER_STATE_GRAB_JOB_SEND ] { 3 } Constant [ int GEARMAN_WORKER_STATE_GRAB_JOB_RECV ] { 4 } Constant [ int GEARMAN_WORKER_STATE_PRE_SLEEP ] { 5 } } - Functions { Function [ function gearman_version ] { - Parameters [0] { } - Return [ string ] } Function [ function gearman_bugreport ] { - Parameters [0] { } - Return [ string ] } Function [ function gearman_verbose_name ] { - Parameters [1] { Parameter #0 [ int $verbose ] } - Return [ ?string ] } Function [ function gearman_client_create ] { - Parameters [0] { } - Return [ GearmanClient|false ] } Function [ function gearman_worker_create ] { - Parameters [0] { } - Return [ GearmanWorker|false ] } Function [ function gearman_client_return_code ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ ?int ] } Function [ function gearman_client_error ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ string|false|null ] } Function [ function gearman_client_get_errno ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ ?int ] } Function [ function gearman_client_options ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ ?int ] } Function [ function gearman_client_set_options ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ int $option ] } - Return [ bool ] } Function [ function gearman_client_add_options ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ int $option ] } - Return [ bool ] } Function [ function gearman_client_remove_options ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ int $option ] } - Return [ bool ] } Function [ function gearman_client_timeout ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ ?int ] } Function [ function gearman_client_set_timeout ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ int $timeout ] } - Return [ bool ] } Function [ function gearman_client_add_server ] { - Parameters [4] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $host = null ] Parameter #2 [ int $port = 0 ] Parameter #3 [ bool $setupExceptionHandler = true ] } - Return [ bool ] } Function [ function gearman_client_add_servers ] { - Parameters [3] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $servers = null ] Parameter #2 [ bool $setupExceptionHandler = true ] } - Return [ bool ] } Function [ function gearman_client_wait ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ bool ] } Function [ function gearman_client_do_normal ] { - Parameters [4] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function ] Parameter #2 [ string $workload ] Parameter #3 [ ?string $unique = null ] } - Return [ string ] } Function [ function gearman_client_do_high ] { - Parameters [4] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function ] Parameter #2 [ string $workload ] Parameter #3 [ ?string $unique = null ] } - Return [ string ] } Function [ function gearman_client_do_low ] { - Parameters [4] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function ] Parameter #2 [ string $workload ] Parameter #3 [ ?string $unique = null ] } - Return [ string ] } Function [ function gearman_client_do_background ] { - Parameters [4] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function ] Parameter #2 [ string $workload ] Parameter #3 [ ?string $unique = null ] } - Return [ string ] } Function [ function gearman_client_do_high_background ] { - Parameters [4] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function ] Parameter #2 [ string $workload ] Parameter #3 [ ?string $unique = null ] } - Return [ string ] } Function [ function gearman_client_do_low_background ] { - Parameters [4] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function ] Parameter #2 [ string $workload ] Parameter #3 [ ?string $unique = null ] } - Return [ string ] } Function [ function gearman_client_do_job_handle ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ string ] } Function [ function gearman_client_do_status ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ array ] } Function [ function gearman_client_job_status ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $job_handle ] } - Return [ array ] } Function [ function gearman_client_job_status_by_unique_key ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $unique_key ] } - Return [ array ] } Function [ function gearman_client_ping ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $workload ] } - Return [ bool ] } Function [ function gearman_client_add_task ] { - Parameters [5] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function_name ] Parameter #2 [ string|int|float $workload ] Parameter #3 [ mixed $context = null ] Parameter #4 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Function [ function gearman_client_add_task_high ] { - Parameters [5] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function_name ] Parameter #2 [ string|int|float $workload ] Parameter #3 [ mixed $context = null ] Parameter #4 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Function [ function gearman_client_add_task_low ] { - Parameters [5] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function_name ] Parameter #2 [ string|int|float $workload ] Parameter #3 [ mixed $context = null ] Parameter #4 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Function [ function gearman_client_add_task_background ] { - Parameters [5] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function_name ] Parameter #2 [ string|int|float $workload ] Parameter #3 [ mixed $context = null ] Parameter #4 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Function [ function gearman_client_add_task_high_background ] { - Parameters [5] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function_name ] Parameter #2 [ string|int|float $workload ] Parameter #3 [ mixed $context = null ] Parameter #4 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Function [ function gearman_client_add_task_low_background ] { - Parameters [5] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $function_name ] Parameter #2 [ string|int|float $workload ] Parameter #3 [ mixed $context = null ] Parameter #4 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Function [ function gearman_client_run_tasks ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ bool ] } Function [ function gearman_client_add_task_status ] { - Parameters [3] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $job_handle ] Parameter #2 [ mixed $context = null ] } - Return [ GearmanTask ] } Function [ function gearman_client_set_workload_callback ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ callable $function ] } - Return [ bool ] } Function [ function gearman_client_set_created_callback ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ callable $function ] } - Return [ bool ] } Function [ function gearman_client_set_data_callback ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ callable $function ] } - Return [ bool ] } Function [ function gearman_client_set_warning_callback ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ callable $function ] } - Return [ bool ] } Function [ function gearman_client_set_status_callback ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ callable $function ] } - Return [ bool ] } Function [ function gearman_client_set_complete_callback ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ callable $function ] } - Return [ bool ] } Function [ function gearman_client_set_exception_callback ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ callable $function ] } - Return [ bool ] } Function [ function gearman_client_set_fail_callback ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ callable $function ] } - Return [ bool ] } Function [ function gearman_client_clear_callbacks ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ bool ] } Function [ function gearman_client_context ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ string ] } Function [ function gearman_client_set_context ] { - Parameters [2] { Parameter #0 [ GearmanClient $obj ] Parameter #1 [ string $data ] } - Return [ bool ] } Function [ function gearman_client_enable_exception_handler ] { - Parameters [1] { Parameter #0 [ GearmanClient $obj ] } - Return [ bool ] } Function [ function gearman_job_return_code ] { - Parameters [1] { Parameter #0 [ GearmanJob $obj ] } - Return [ ?int ] } Function [ function gearman_job_set_return ] { - Parameters [2] { Parameter #0 [ GearmanJob $obj ] Parameter #1 [ int $gearman_return_t ] } - Return [ ?bool ] } Function [ function gearman_job_send_data ] { - Parameters [2] { Parameter #0 [ GearmanJob $obj ] Parameter #1 [ string $data ] } - Return [ ?bool ] } Function [ function gearman_job_send_warning ] { - Parameters [2] { Parameter #0 [ GearmanJob $obj ] Parameter #1 [ string $warning ] } - Return [ bool ] } Function [ function gearman_job_send_status ] { - Parameters [3] { Parameter #0 [ GearmanJob $obj ] Parameter #1 [ int $numerator ] Parameter #2 [ int $denominator ] } - Return [ bool ] } Function [ function gearman_job_send_complete ] { - Parameters [2] { Parameter #0 [ GearmanJob $obj ] Parameter #1 [ string $result ] } - Return [ bool ] } Function [ function gearman_job_send_exception ] { - Parameters [2] { Parameter #0 [ GearmanJob $obj ] Parameter #1 [ string $exception ] } - Return [ bool ] } Function [ function gearman_job_send_fail ] { - Parameters [1] { Parameter #0 [ GearmanJob $obj ] } - Return [ bool ] } Function [ function gearman_job_handle ] { - Parameters [1] { Parameter #0 [ GearmanJob $obj ] } - Return [ string|bool ] } Function [ function gearman_job_function_name ] { - Parameters [1] { Parameter #0 [ GearmanJob $obj ] } - Return [ string|bool ] } Function [ function gearman_job_unique ] { - Parameters [1] { Parameter #0 [ GearmanJob $obj ] } - Return [ string|bool ] } Function [ function gearman_job_workload ] { - Parameters [1] { Parameter #0 [ GearmanJob $obj ] } - Return [ string ] } Function [ function gearman_job_workload_size ] { - Parameters [1] { Parameter #0 [ GearmanJob $obj ] } - Return [ ?int ] } Function [ function gearman_task_return_code ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ ?int ] } Function [ function gearman_task_function_name ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ string|bool|null ] } Function [ function gearman_task_unique ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ string|bool|null ] } Function [ function gearman_task_job_handle ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ string|bool|null ] } Function [ function gearman_task_is_known ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ ?bool ] } Function [ function gearman_task_is_running ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ ?bool ] } Function [ function gearman_task_numerator ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ int|bool|null ] } Function [ function gearman_task_denominator ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ int|bool|null ] } Function [ function gearman_task_data ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ string|bool|null ] } Function [ function gearman_task_data_size ] { - Parameters [1] { Parameter #0 [ GearmanTask $obj ] } - Return [ int|false ] } Function [ function gearman_task_send_workload ] { - Parameters [2] { Parameter #0 [ GearmanTask $obj ] Parameter #1 [ string $data ] } - Return [ int|false ] } Function [ function gearman_task_recv_data ] { - Parameters [2] { Parameter #0 [ GearmanTask $obj ] Parameter #1 [ int $data_len ] } - Return [ array|bool ] } Function [ function gearman_worker_return_code ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ ?int ] } Function [ function gearman_worker_error ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ string|false ] } Function [ function gearman_worker_errno ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ int|false ] } Function [ function gearman_worker_options ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ ?int ] } Function [ function gearman_worker_set_options ] { - Parameters [2] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ int $option ] } - Return [ ?bool ] } Function [ function gearman_worker_add_options ] { - Parameters [2] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ int $option ] } - Return [ ?bool ] } Function [ function gearman_worker_remove_options ] { - Parameters [2] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ int $option ] } - Return [ ?bool ] } Function [ function gearman_worker_timeout ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ ?int ] } Function [ function gearman_worker_set_timeout ] { - Parameters [2] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ int $timeout ] } - Return [ bool ] } Function [ function gearman_worker_set_id ] { - Parameters [2] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ string $id ] } - Return [ bool ] } Function [ function gearman_worker_add_server ] { - Parameters [4] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ string $host = null ] Parameter #2 [ int $port = 0 ] Parameter #3 [ bool $setupExceptionHandler = true ] } - Return [ bool ] } Function [ function gearman_worker_add_servers ] { - Parameters [3] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ string $servers = null ] Parameter #2 [ bool $setupExceptionHandler = true ] } - Return [ bool ] } Function [ function gearman_worker_wait ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ bool ] } Function [ function gearman_worker_register ] { - Parameters [3] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ string $function_name ] Parameter #2 [ int $timeout = 0 ] } - Return [ bool ] } Function [ function gearman_worker_unregister ] { - Parameters [2] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ string $function_name ] } - Return [ bool ] } Function [ function gearman_worker_unregister_all ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ bool ] } Function [ function gearman_worker_grab_job ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ GearmanWorker|false ] } Function [ function gearman_worker_add_function ] { - Parameters [5] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ string $function_name ] Parameter #2 [ callable $function ] Parameter #3 [ mixed $context = null ] Parameter #4 [ int $timeout = 0 ] } - Return [ bool ] } Function [ function gearman_worker_work ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ bool ] } Function [ function gearman_worker_ping ] { - Parameters [2] { Parameter #0 [ GearmanWorker $obj ] Parameter #1 [ string $data ] } - Return [ bool ] } Function [ function gearman_worker_enable_exception_handler ] { - Parameters [1] { Parameter #0 [ GearmanWorker $obj ] } - Return [ bool ] } } - Classes [5] { Class [ class GearmanClient ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [45] { Method [ public method __construct ] { - Parameters [0] { } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method returnCode ] { - Parameters [0] { } - Return [ int ] } Method [ public method error ] { - Parameters [0] { } - Return [ string|false ] } Method [ public method getErrno ] { - Parameters [0] { } - Return [ int ] } Method [ public method options ] { - Parameters [0] { } - Return [ int ] } Method [ public method setOptions ] { - Parameters [1] { Parameter #0 [ int $option ] } - Return [ bool ] } Method [ public method addOptions ] { - Parameters [1] { Parameter #0 [ int $option ] } - Return [ bool ] } Method [ public method removeOptions ] { - Parameters [1] { Parameter #0 [ int $option ] } - Return [ bool ] } Method [ public method timeout ] { - Parameters [0] { } - Return [ int ] } Method [ public method setTimeout ] { - Parameters [1] { Parameter #0 [ int $timeout ] } - Return [ bool ] } Method [ public method addServer ] { - Parameters [3] { Parameter #0 [ string $host = null ] Parameter #1 [ int $port = 0 ] Parameter #2 [ bool $setupExceptionHandler = true ] } - Return [ bool ] } Method [ public method addServers ] { - Parameters [2] { Parameter #0 [ string $servers = null ] Parameter #1 [ bool $setupExceptionHandler = true ] } - Return [ bool ] } Method [ public method wait ] { - Parameters [0] { } - Return [ bool ] } Method [ public method doNormal ] { - Parameters [3] { Parameter #0 [ string $function ] Parameter #1 [ string $workload ] Parameter #2 [ ?string $unique = null ] } - Return [ string ] } Method [ public method doHigh ] { - Parameters [3] { Parameter #0 [ string $function ] Parameter #1 [ string $workload ] Parameter #2 [ ?string $unique = null ] } - Return [ string ] } Method [ public method dolow ] { - Parameters [3] { Parameter #0 [ string $function ] Parameter #1 [ string $workload ] Parameter #2 [ ?string $unique = null ] } - Return [ string ] } Method [ public method doBackground ] { - Parameters [3] { Parameter #0 [ string $function ] Parameter #1 [ string $workload ] Parameter #2 [ ?string $unique = null ] } - Return [ string ] } Method [ public method doHighBackground ] { - Parameters [3] { Parameter #0 [ string $function ] Parameter #1 [ string $workload ] Parameter #2 [ ?string $unique = null ] } - Return [ string ] } Method [ public method doLowBackground ] { - Parameters [3] { Parameter #0 [ string $function ] Parameter #1 [ string $workload ] Parameter #2 [ ?string $unique = null ] } - Return [ string ] } Method [ public method doJobHandle ] { - Parameters [0] { } - Return [ string ] } Method [ public method doStatus ] { - Parameters [0] { } - Return [ array ] } Method [ public method jobStatus ] { - Parameters [1] { Parameter #0 [ string $job_handle ] } - Return [ array ] } Method [ public method jobStatusByUniqueKey ] { - Parameters [1] { Parameter #0 [ string $unique_key ] } - Return [ array ] } Method [ public method ping ] { - Parameters [1] { Parameter #0 [ string $workload ] } - Return [ bool ] } Method [ public method addTask ] { - Parameters [4] { Parameter #0 [ string $function_name ] Parameter #1 [ string|int|float $workload ] Parameter #2 [ mixed $context = null ] Parameter #3 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Method [ public method addTaskHigh ] { - Parameters [4] { Parameter #0 [ string $function_name ] Parameter #1 [ string|int|float $workload ] Parameter #2 [ mixed $context = null ] Parameter #3 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Method [ public method addTaskLow ] { - Parameters [4] { Parameter #0 [ string $function_name ] Parameter #1 [ string|int|float $workload ] Parameter #2 [ mixed $context = null ] Parameter #3 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Method [ public method addTaskBackground ] { - Parameters [4] { Parameter #0 [ string $function_name ] Parameter #1 [ string|int|float $workload ] Parameter #2 [ mixed $context = null ] Parameter #3 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Method [ public method addTaskHighBackground ] { - Parameters [4] { Parameter #0 [ string $function_name ] Parameter #1 [ string|int|float $workload ] Parameter #2 [ mixed $context = null ] Parameter #3 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Method [ public method addTaskLowBackground ] { - Parameters [4] { Parameter #0 [ string $function_name ] Parameter #1 [ string|int|float $workload ] Parameter #2 [ mixed $context = null ] Parameter #3 [ ?string $unique_key = null ] } - Return [ GearmanTask|false ] } Method [ public method runTasks ] { - Parameters [0] { } - Return [ bool ] } Method [ public method addTaskStatus ] { - Parameters [2] { Parameter #0 [ string $job_handle ] Parameter #1 [ mixed $context = null ] } - Return [ GearmanTask ] } Method [ public method setWorkloadCallback ] { - Parameters [1] { Parameter #0 [ callable $function ] } - Return [ bool ] } Method [ public method setCreatedCallback ] { - Parameters [1] { Parameter #0 [ callable $function ] } - Return [ bool ] } Method [ public method setDataCallback ] { - Parameters [1] { Parameter #0 [ callable $function ] } - Return [ bool ] } Method [ public method setWarningCallback ] { - Parameters [1] { Parameter #0 [ callable $function ] } - Return [ bool ] } Method [ public method setStatusCallback ] { - Parameters [1] { Parameter #0 [ callable $function ] } - Return [ bool ] } Method [ public method setCompleteCallback ] { - Parameters [1] { Parameter #0 [ callable $function ] } - Return [ bool ] } Method [ public method setExceptionCallback ] { - Parameters [1] { Parameter #0 [ callable $function ] } - Return [ bool ] } Method [ public method setFailCallback ] { - Parameters [1] { Parameter #0 [ callable $function ] } - Return [ bool ] } Method [ public method clearCallbacks ] { - Parameters [0] { } - Return [ bool ] } Method [ public method context ] { - Parameters [0] { } - Return [ string ] } Method [ public method setContext ] { - Parameters [1] { Parameter #0 [ string $data ] } - Return [ bool ] } Method [ public method enableExceptionHandler ] { - Parameters [0] { } - Return [ bool ] } } } Class [ class GearmanTask ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [13] { Method [ public method __construct ] { - Parameters [0] { } } Method [ public method returnCode ] { - Parameters [0] { } - Return [ int ] } Method [ public method functionName ] { - Parameters [0] { } - Return [ string|bool ] } Method [ public method unique ] { - Parameters [0] { } - Return [ string|bool ] } Method [ public method jobHandle ] { - Parameters [0] { } - Return [ string|bool ] } Method [ public method isKnown ] { - Parameters [0] { } - Return [ bool ] } Method [ public method isRunning ] { - Parameters [0] { } - Return [ bool ] } Method [ public method taskNumerator ] { - Parameters [0] { } - Return [ int|bool ] } Method [ public method taskDenominator ] { - Parameters [0] { } - Return [ int|bool ] } Method [ public method data ] { - Parameters [0] { } - Return [ string|bool ] } Method [ public method dataSize ] { - Parameters [0] { } - Return [ int|false ] } Method [ public method sendWorkload ] { - Parameters [1] { Parameter #0 [ string $data ] } - Return [ int|false ] } Method [ public method recvData ] { - Parameters [1] { Parameter #0 [ int $data_len ] } - Return [ array|bool ] } } } Class [ class GearmanWorker ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [23] { Method [ public method __construct ] { - Parameters [0] { } } Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method returnCode ] { - Parameters [0] { } - Return [ ?int ] } Method [ public method error ] { - Parameters [0] { } - Return [ string|false ] } Method [ public method getErrno ] { - Parameters [0] { } - Return [ int|false ] } Method [ public method options ] { - Parameters [0] { } - Return [ ?int ] } Method [ public method setOptions ] { - Parameters [1] { Parameter #0 [ int $option ] } - Return [ ?bool ] } Method [ public method addOptions ] { - Parameters [1] { Parameter #0 [ int $option ] } - Return [ ?bool ] } Method [ public method removeOptions ] { - Parameters [1] { Parameter #0 [ int $option ] } - Return [ ?bool ] } Method [ public method timeout ] { - Parameters [0] { } - Return [ ?int ] } Method [ public method setTimeout ] { - Parameters [1] { Parameter #0 [ int $timeout ] } - Return [ bool ] } Method [ public method setId ] { - Parameters [1] { Parameter #0 [ string $id ] } - Return [ bool ] } Method [ public method addServer ] { - Parameters [3] { Parameter #0 [ string $host = null ] Parameter #1 [ int $port = 0 ] Parameter #2 [ bool $setupExceptionHandler = true ] } - Return [ bool ] } Method [ public method addServers ] { - Parameters [2] { Parameter #0 [ string $servers = null ] Parameter #1 [ bool $setupExceptionHandler = true ] } - Return [ bool ] } Method [ public method wait ] { - Parameters [0] { } - Return [ bool ] } Method [ public method register ] { - Parameters [2] { Parameter #0 [ string $function_name ] Parameter #1 [ int $timeout = 0 ] } - Return [ bool ] } Method [ public method unregister ] { - Parameters [1] { Parameter #0 [ string $function_name ] } - Return [ bool ] } Method [ public method unregisterAll ] { - Parameters [0] { } - Return [ bool ] } Method [ public method grabJob ] { - Parameters [0] { } - Return [ GearmanWorker|false ] } Method [ public method addFunction ] { - Parameters [4] { Parameter #0 [ string $function_name ] Parameter #1 [ callable $function ] Parameter #2 [ mixed $context = null ] Parameter #3 [ int $timeout = 0 ] } - Return [ bool ] } Method [ public method work ] { - Parameters [0] { } - Return [ bool ] } Method [ public method ping ] { - Parameters [1] { Parameter #0 [ string $data ] } - Return [ bool ] } Method [ public method enableExceptionHandler ] { - Parameters [0] { } - Return [ bool ] } } } Class [ class GearmanJob ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [14] { Method [ public method __destruct ] { - Parameters [0] { } } Method [ public method returnCode ] { - Parameters [0] { } - Return [ ?int ] } Method [ public method setReturn ] { - Parameters [1] { Parameter #0 [ int $gearman_return_t ] } - Return [ ?bool ] } Method [ public method sendData ] { - Parameters [1] { Parameter #0 [ string $data ] } - Return [ ?bool ] } Method [ public method sendWarning ] { - Parameters [1] { Parameter #0 [ string $warning ] } - Return [ bool ] } Method [ public method sendStatus ] { - Parameters [2] { Parameter #0 [ int $numerator ] Parameter #1 [ int $denominator ] } - Return [ bool ] } Method [ public method sendComplete ] { - Parameters [1] { Parameter #0 [ string $result ] } - Return [ bool ] } Method [ public method sendException ] { - Parameters [1] { Parameter #0 [ string $exception ] } - Return [ bool ] } Method [ public method sendFail ] { - Parameters [0] { } - Return [ bool ] } Method [ public method handle ] { - Parameters [0] { } - Return [ string|bool ] } Method [ public method functionName ] { - Parameters [0] { } - Return [ string|bool ] } Method [ public method unique ] { - Parameters [0] { } - Return [ string|bool ] } Method [ public method workload ] { - Parameters [0] { } - Return [ string ] } Method [ public method workloadSize ] { - Parameters [0] { } - Return [ ?int ] } } } Class [ final class GearmanException extends Exception implements Throwable, Stringable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [4] { Property [ protected $message = '' ] Property [ protected string $file = '' ] Property [ protected int $line = 0 ] Property [ public $code = 0 ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ string $message = "" ] Parameter #1 [ int $code = 0 ] Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { - Parameters [0] { } - Tentative return [ void ] } Method [ final public method getMessage ] { - Parameters [0] { } - Return [ string ] } Method [ final public method getCode ] { - Parameters [0] { } } Method [ final public method getFile ] { - Parameters [0] { } - Return [ string ] } Method [ final public method getLine ] { - Parameters [0] { } - Return [ int ] } Method [ final public method getTrace ] { - Parameters [0] { } - Return [ array ] } Method [ final public method getPrevious ] { - Parameters [0] { } - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { - Parameters [0] { } - Return [ string ] } Method [ public method __toString ] { - Parameters [0] { } - Return [ string ] } } } } }