From 6f26382a064c9f9619ccc74a9c8e0d54c39ba9ac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 17 Jan 2021 06:52:12 +0100 Subject: update to 2.1.0 sources from pecl --- REFLECTION | 855 +++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 495 insertions(+), 360 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index bdb312c..96e0b4c 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #109 gearman version 2.0.6 ] { +Extension [ extension #119 gearman version 2.1.0 ] { - Constants [157] { Constant [ string GEARMAN_DEFAULT_TCP_HOST ] { localhost } @@ -165,639 +165,714 @@ Extension [ extension #109 gearman version 2.0.6 ] { - Parameters [0] { } + - Return [ string ] } Function [ function gearman_bugreport ] { - Parameters [0] { } + - Return [ string ] } Function [ function gearman_verbose_name ] { - Parameters [1] { - Parameter #0 [ $verbose ] + Parameter #0 [ int $verbose ] } + - Return [ string or NULL ] } Function [ function gearman_client_create ] { - Parameters [0] { } } + Function [ function gearman_worker_create ] { + + - Parameters [0] { + } + } Function [ function gearman_client_return_code ] { - Parameters [1] { - Parameter #0 [ $client_object ] + Parameter #0 [ GearmanClient $obj ] } + - Return [ int or NULL ] } Function [ function gearman_client_error ] { - Parameters [1] { - Parameter #0 [ $client_object ] + Parameter #0 [ GearmanClient $obj ] } } Function [ function gearman_client_get_errno ] { - Parameters [1] { - Parameter #0 [ $client_object ] + Parameter #0 [ GearmanClient $obj ] } + - Return [ int or NULL ] } Function [ function gearman_client_options ] { - Parameters [1] { - Parameter #0 [ $client_object ] + Parameter #0 [ GearmanClient $obj ] } + - Return [ int or NULL ] } Function [ function gearman_client_set_options ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $option ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ int $option ] } + - Return [ bool ] } Function [ function gearman_client_add_options ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $option ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ int $option ] } + - Return [ bool ] } Function [ function gearman_client_remove_options ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $option ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ int $option ] } + - Return [ bool ] } Function [ function gearman_client_timeout ] { - Parameters [1] { - Parameter #0 [ $client_object ] + Parameter #0 [ GearmanClient $obj ] } + - Return [ int or NULL ] } Function [ function gearman_client_set_timeout ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $timeout ] - } - } - Function [ function gearman_client_context ] { - - - Parameters [1] { - Parameter #0 [ $client_object ] - } - } - Function [ function gearman_client_set_context ] { - - - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $context ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ int $timeout ] } + - Return [ bool ] } Function [ function gearman_client_add_server ] { - Parameters [4] { - Parameter #0 [ $client_object ] - Parameter #1 [ $host ] - Parameter #2 [ $port ] - Parameter #3 [ $enableExceptionHandler ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $host ] + Parameter #2 [ int $port ] + Parameter #3 [ bool $setupExceptionHandler ] } + - Return [ bool ] } Function [ function gearman_client_add_servers ] { - Parameters [3] { - Parameter #0 [ $client_object ] - Parameter #1 [ $servers ] - Parameter #2 [ $setupExceptionHandler ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $servers ] + Parameter #2 [ bool $setupExceptionHandler ] } + - Return [ bool ] } Function [ function gearman_client_wait ] { - Parameters [1] { - Parameter #0 [ $client_object ] + Parameter #0 [ GearmanClient $obj ] } + - Return [ bool ] } Function [ function gearman_client_do_normal ] { - Parameters [4] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] - Parameter #2 [ $workload ] - Parameter #3 [ $unique ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function ] + Parameter #2 [ string $workload ] + Parameter #3 [ string or NULL $unique ] } + - Return [ string ] } Function [ function gearman_client_do_high ] { - Parameters [4] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] - Parameter #2 [ $workload ] - Parameter #3 [ $unique ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function ] + Parameter #2 [ string $workload ] + Parameter #3 [ string or NULL $unique ] } + - Return [ string ] } Function [ function gearman_client_do_low ] { - Parameters [4] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] - Parameter #2 [ $workload ] - Parameter #3 [ $unique ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function ] + Parameter #2 [ string $workload ] + Parameter #3 [ string or NULL $unique ] } + - Return [ string ] } - Function [ function gearman_client_do_job_handle ] { + Function [ function gearman_client_do_background ] { - - Parameters [1] { - Parameter #0 [ $client_object ] + - Parameters [4] { + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function ] + Parameter #2 [ string $workload ] + Parameter #3 [ string or NULL $unique ] } + - Return [ string ] } - Function [ function gearman_client_do_status ] { + Function [ function gearman_client_do_high_background ] { - - Parameters [1] { - Parameter #0 [ $client_object ] + - Parameters [4] { + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function ] + Parameter #2 [ string $workload ] + Parameter #3 [ string or NULL $unique ] } + - Return [ string ] } - Function [ function gearman_client_do_background ] { + Function [ function gearman_client_do_low_background ] { - Parameters [4] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] - Parameter #2 [ $workload ] - Parameter #3 [ $unique ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function ] + Parameter #2 [ string $workload ] + Parameter #3 [ string or NULL $unique ] } + - Return [ string ] } - Function [ function gearman_client_do_high_background ] { + Function [ function gearman_client_do_job_handle ] { - - Parameters [4] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] - Parameter #2 [ $workload ] - Parameter #3 [ $unique ] + - Parameters [1] { + Parameter #0 [ GearmanClient $obj ] } + - Return [ string ] } - Function [ function gearman_client_do_low_background ] { + Function [ function gearman_client_do_status ] { - - Parameters [4] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] - Parameter #2 [ $workload ] - Parameter #3 [ $unique ] + - Parameters [1] { + Parameter #0 [ GearmanClient $obj ] } + - Return [ array ] } Function [ function gearman_client_job_status ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $job_handle ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $job_handle ] } + - Return [ array ] } Function [ function gearman_client_job_status_by_unique_key ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $unique_key ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $unique_key ] } + - Return [ array ] } Function [ function gearman_client_ping ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $workload ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $workload ] } + - Return [ bool ] } Function [ function gearman_client_add_task ] { - Parameters [5] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function_name ] Parameter #2 [ $workload ] Parameter #3 [ $context ] - Parameter #4 [ $unique ] + Parameter #4 [ string or NULL $unique_key ] } } Function [ function gearman_client_add_task_high ] { - Parameters [5] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function_name ] Parameter #2 [ $workload ] Parameter #3 [ $context ] - Parameter #4 [ $unique ] + Parameter #4 [ string or NULL $unique_key ] } } Function [ function gearman_client_add_task_low ] { - Parameters [5] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function_name ] Parameter #2 [ $workload ] Parameter #3 [ $context ] - Parameter #4 [ $unique ] + Parameter #4 [ string or NULL $unique_key ] } } Function [ function gearman_client_add_task_background ] { - Parameters [5] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function_name ] Parameter #2 [ $workload ] Parameter #3 [ $context ] - Parameter #4 [ $unique ] + Parameter #4 [ string or NULL $unique_key ] } } Function [ function gearman_client_add_task_high_background ] { - Parameters [5] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function_name ] Parameter #2 [ $workload ] Parameter #3 [ $context ] - Parameter #4 [ $unique ] + Parameter #4 [ string or NULL $unique_key ] } } Function [ function gearman_client_add_task_low_background ] { - Parameters [5] { - Parameter #0 [ $client_object ] - Parameter #1 [ $function_name ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $function_name ] Parameter #2 [ $workload ] Parameter #3 [ $context ] - Parameter #4 [ $unique ] + Parameter #4 [ string or NULL $unique_key ] } } + 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 [ $client_object ] - Parameter #1 [ $job_handle ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ string $job_handle ] Parameter #2 [ $context ] } + - Return [ GearmanTask ] } Function [ function gearman_client_set_workload_callback ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $callback ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ callable $function ] } + - Return [ bool ] } Function [ function gearman_client_set_created_callback ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $callback ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ callable $function ] } + - Return [ bool ] } Function [ function gearman_client_set_data_callback ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $callback ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ callable $function ] } + - Return [ bool ] } Function [ function gearman_client_set_warning_callback ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $callback ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ callable $function ] } + - Return [ bool ] } Function [ function gearman_client_set_status_callback ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $callback ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ callable $function ] } + - Return [ bool ] } Function [ function gearman_client_set_complete_callback ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $callback ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ callable $function ] } + - Return [ bool ] } Function [ function gearman_client_set_exception_callback ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $callback ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ callable $function ] } + - Return [ bool ] } Function [ function gearman_client_set_fail_callback ] { - Parameters [2] { - Parameter #0 [ $client_object ] - Parameter #1 [ $callback ] + Parameter #0 [ GearmanClient $obj ] + Parameter #1 [ callable $function ] } + - Return [ bool ] } Function [ function gearman_client_clear_callbacks ] { - Parameters [1] { - Parameter #0 [ $client_object ] + Parameter #0 [ GearmanClient $obj ] } + - Return [ bool ] } - Function [ function gearman_client_run_tasks ] { + Function [ function gearman_client_context ] { - Parameters [1] { - Parameter #0 [ $client_object ] + 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 or NULL ] + } + Function [ function gearman_job_set_return ] { + + - Parameters [2] { + Parameter #0 [ GearmanJob $obj ] + Parameter #1 [ int $gearman_return_t ] + } + - Return [ bool or NULL ] + } + Function [ function gearman_job_send_data ] { + + - Parameters [2] { + Parameter #0 [ GearmanJob $obj ] + Parameter #1 [ string $data ] + } + - Return [ bool or NULL ] + } + 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 ] + } + } + Function [ function gearman_job_function_name ] { + + - Parameters [1] { + Parameter #0 [ GearmanJob $obj ] + } + } + Function [ function gearman_job_unique ] { + + - Parameters [1] { + Parameter #0 [ GearmanJob $obj ] + } + } + 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 or NULL ] } Function [ function gearman_task_return_code ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } + - Return [ int or NULL ] } Function [ function gearman_task_function_name ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } } Function [ function gearman_task_unique ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } } Function [ function gearman_task_job_handle ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } } Function [ function gearman_task_is_known ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } + - Return [ bool or NULL ] } Function [ function gearman_task_is_running ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } + - Return [ bool or NULL ] } Function [ function gearman_task_numerator ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } } Function [ function gearman_task_denominator ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } } Function [ function gearman_task_data ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } } Function [ function gearman_task_data_size ] { - Parameters [1] { - Parameter #0 [ $task_object ] + Parameter #0 [ GearmanTask $obj ] } } Function [ function gearman_task_send_workload ] { - Parameters [2] { - Parameter #0 [ $task_object ] - Parameter #1 [ $data ] + Parameter #0 [ GearmanTask $obj ] + Parameter #1 [ string $data ] } } Function [ function gearman_task_recv_data ] { - Parameters [2] { - Parameter #0 [ $task_object ] - Parameter #1 [ $data_len ] + Parameter #0 [ GearmanTask $obj ] + Parameter #1 [ int $data_len ] } } Function [ function gearman_worker_return_code ] { - Parameters [1] { - Parameter #0 [ $worker_object ] - } - } - Function [ function gearman_worker_create ] { - - - Parameters [0] { + Parameter #0 [ GearmanWorker $obj ] } + - Return [ int or NULL ] } Function [ function gearman_worker_error ] { - Parameters [1] { - Parameter #0 [ $worker_object ] + Parameter #0 [ GearmanWorker $obj ] } } Function [ function gearman_worker_errno ] { - Parameters [1] { - Parameter #0 [ $worker_object ] + Parameter #0 [ GearmanWorker $obj ] } } Function [ function gearman_worker_options ] { - Parameters [1] { - Parameter #0 [ $worker_object ] + Parameter #0 [ GearmanWorker $obj ] } + - Return [ int or NULL ] } Function [ function gearman_worker_set_options ] { - Parameters [2] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $option ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ int $option ] } + - Return [ bool or NULL ] } Function [ function gearman_worker_add_options ] { - Parameters [2] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $option ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ int $option ] } + - Return [ bool or NULL ] } Function [ function gearman_worker_remove_options ] { - Parameters [2] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $option ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ int $option ] } + - Return [ bool or NULL ] } Function [ function gearman_worker_timeout ] { - Parameters [1] { - Parameter #0 [ $worker_object ] + Parameter #0 [ GearmanWorker $obj ] } + - Return [ int or NULL ] } Function [ function gearman_worker_set_timeout ] { - Parameters [2] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $timeout ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ int $timeout ] } + - Return [ bool ] } Function [ function gearman_worker_set_id ] { - Parameters [2] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $id ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ string $id ] } + - Return [ bool ] } Function [ function gearman_worker_add_server ] { - Parameters [3] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $host ] - Parameter #2 [ $port ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ string $host ] + Parameter #2 [ int $port ] } + - Return [ bool ] } Function [ function gearman_worker_add_servers ] { - Parameters [2] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $servers ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ string $servers ] } + - Return [ bool ] } Function [ function gearman_worker_wait ] { - Parameters [1] { - Parameter #0 [ $worker_object ] + Parameter #0 [ GearmanWorker $obj ] } + - Return [ bool ] } Function [ function gearman_worker_register ] { - Parameters [3] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $function_name ] - Parameter #2 [ $timeout ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ string $function_name ] + Parameter #2 [ int $timeout ] } + - Return [ bool ] } Function [ function gearman_worker_unregister ] { - Parameters [2] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $function_name ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ string $function_name ] } + - Return [ bool ] } Function [ function gearman_worker_unregister_all ] { - Parameters [1] { - Parameter #0 [ $worker_object ] + Parameter #0 [ GearmanWorker $obj ] } + - Return [ bool ] } Function [ function gearman_worker_grab_job ] { - Parameters [1] { - Parameter #0 [ $worker_object ] + Parameter #0 [ GearmanWorker $obj ] } } Function [ function gearman_worker_add_function ] { - Parameters [5] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $function_name ] - Parameter #2 [ $function ] - Parameter #3 [ $data ] - Parameter #4 [ $timeout ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ string $function_name ] + Parameter #2 [ callable $function ] + Parameter #3 [ $context ] + Parameter #4 [ int $timeout ] } + - Return [ bool ] } Function [ function gearman_worker_work ] { - Parameters [1] { - Parameter #0 [ $worker_object ] + Parameter #0 [ GearmanWorker $obj ] } + - Return [ bool ] } Function [ function gearman_worker_ping ] { - Parameters [2] { - Parameter #0 [ $worker_object ] - Parameter #1 [ $workload ] - } - } - Function [ function gearman_job_return_code ] { - - - Parameters [1] { - Parameter #0 [ $job_object ] - } - } - Function [ function gearman_job_set_return ] { - - - Parameters [2] { - Parameter #0 [ $job_object ] - Parameter #1 [ $gearman_return_t ] - } - } - Function [ function gearman_job_send_data ] { - - - Parameters [2] { - Parameter #0 [ $job_object ] - Parameter #1 [ $data ] - } - } - Function [ function gearman_job_send_warning ] { - - - Parameters [2] { - Parameter #0 [ $job_object ] - Parameter #1 [ $warning ] - } - } - Function [ function gearman_job_send_status ] { - - - Parameters [3] { - Parameter #0 [ $job_object ] - Parameter #1 [ $numerator ] - Parameter #2 [ $denominator ] - } - } - Function [ function gearman_job_send_complete ] { - - - Parameters [2] { - Parameter #0 [ $job_object ] - Parameter #1 [ $result ] - } - } - Function [ function gearman_job_send_exception ] { - - - Parameters [2] { - Parameter #0 [ $job_object ] - Parameter #1 [ $exception ] - } - } - Function [ function gearman_job_send_fail ] { - - - Parameters [1] { - Parameter #0 [ $job_object ] - } - } - Function [ function gearman_job_handle ] { - - - Parameters [1] { - Parameter #0 [ $job_object ] - } - } - Function [ function gearman_job_function_name ] { - - - Parameters [1] { - Parameter #0 [ $job_object ] - } - } - Function [ function gearman_job_unique ] { - - - Parameters [1] { - Parameter #0 [ $job_object ] - } - } - Function [ function gearman_job_workload ] { - - - Parameters [1] { - Parameter #0 [ $job_object ] - } - } - Function [ function gearman_job_workload_size ] { - - - Parameters [1] { - Parameter #0 [ $job_object ] + Parameter #0 [ GearmanWorker $obj ] + Parameter #1 [ string $data ] } + - Return [ bool ] } } @@ -833,6 +908,7 @@ Extension [ extension #109 gearman version 2.0.6 ] { - Parameters [0] { } + - Return [ int ] } Method [ public method error ] { @@ -845,311 +921,346 @@ Extension [ extension #109 gearman version 2.0.6 ] { - Parameters [0] { } + - Return [ int ] } Method [ public method options ] { - Parameters [0] { } + - Return [ int ] } Method [ public method setOptions ] { - Parameters [1] { - Parameter #0 [ $option ] + Parameter #0 [ int $option ] } + - Return [ bool ] } Method [ public method addOptions ] { - Parameters [1] { - Parameter #0 [ $option ] + Parameter #0 [ int $option ] } + - Return [ bool ] } Method [ public method removeOptions ] { - Parameters [1] { - Parameter #0 [ $option ] + Parameter #0 [ int $option ] } + - Return [ bool ] } Method [ public method timeout ] { - Parameters [0] { } + - Return [ int ] } Method [ public method setTimeout ] { - Parameters [1] { - Parameter #0 [ $timeout ] - } - } - - Method [ public method context ] { - - - Parameters [0] { - } - } - - Method [ public method setContext ] { - - - Parameters [1] { - Parameter #0 [ $context ] + Parameter #0 [ int $timeout ] } + - Return [ bool ] } Method [ public method addServer ] { - Parameters [3] { - Parameter #0 [ $host ] - Parameter #1 [ $port ] - Parameter #2 [ $enableExceptionHandler ] + Parameter #0 [ string $host ] + Parameter #1 [ int $port ] + Parameter #2 [ bool $setupExceptionHandler ] } + - Return [ bool ] } Method [ public method addServers ] { - Parameters [2] { - Parameter #0 [ $servers ] - Parameter #1 [ $setupExceptionHandler ] + Parameter #0 [ string $servers ] + Parameter #1 [ bool $setupExceptionHandler ] } + - Return [ bool ] } Method [ public method wait ] { - Parameters [0] { } + - Return [ bool ] } Method [ public method doNormal ] { - Parameters [3] { - Parameter #0 [ $function_name ] - Parameter #1 [ $workload ] - Parameter #2 [ $unique ] + Parameter #0 [ string $function ] + Parameter #1 [ string $workload ] + Parameter #2 [ string or NULL $unique ] } + - Return [ string ] } Method [ public method doHigh ] { - Parameters [3] { - Parameter #0 [ $function_name ] - Parameter #1 [ $workload ] - Parameter #2 [ $unique ] + Parameter #0 [ string $function ] + Parameter #1 [ string $workload ] + Parameter #2 [ string or NULL $unique ] } + - Return [ string ] } - Method [ public method doLow ] { + Method [ public method dolow ] { - Parameters [3] { - Parameter #0 [ $function_name ] - Parameter #1 [ $workload ] - Parameter #2 [ $unique ] + Parameter #0 [ string $function ] + Parameter #1 [ string $workload ] + Parameter #2 [ string or NULL $unique ] } + - Return [ string ] } Method [ public method doBackground ] { - Parameters [3] { - Parameter #0 [ $function_name ] - Parameter #1 [ $workload ] - Parameter #2 [ $unique ] + Parameter #0 [ string $function ] + Parameter #1 [ string $workload ] + Parameter #2 [ string or NULL $unique ] } + - Return [ string ] } Method [ public method doHighBackground ] { - Parameters [3] { - Parameter #0 [ $function_name ] - Parameter #1 [ $workload ] - Parameter #2 [ $unique ] + Parameter #0 [ string $function ] + Parameter #1 [ string $workload ] + Parameter #2 [ string or NULL $unique ] } + - Return [ string ] } Method [ public method doLowBackground ] { - Parameters [3] { - Parameter #0 [ $function_name ] - Parameter #1 [ $workload ] - Parameter #2 [ $unique ] + Parameter #0 [ string $function ] + Parameter #1 [ string $workload ] + Parameter #2 [ string or NULL $unique ] } + - 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 [ $job_handle ] + Parameter #0 [ string $job_handle ] } + - Return [ array ] } Method [ public method jobStatusByUniqueKey ] { - Parameters [1] { - Parameter #0 [ $unique_key ] + Parameter #0 [ string $unique_key ] } + - Return [ array ] } Method [ public method ping ] { - Parameters [1] { - Parameter #0 [ $workload ] + Parameter #0 [ string $workload ] } + - Return [ bool ] } Method [ public method addTask ] { - Parameters [4] { - Parameter #0 [ $function_name ] + Parameter #0 [ string $function_name ] Parameter #1 [ $workload ] Parameter #2 [ $context ] - Parameter #3 [ $unique ] + Parameter #3 [ string or NULL $unique_key ] } } Method [ public method addTaskHigh ] { - Parameters [4] { - Parameter #0 [ $function_name ] + Parameter #0 [ string $function_name ] Parameter #1 [ $workload ] Parameter #2 [ $context ] - Parameter #3 [ $unique ] + Parameter #3 [ string or NULL $unique_key ] } } Method [ public method addTaskLow ] { - Parameters [4] { - Parameter #0 [ $function_name ] + Parameter #0 [ string $function_name ] Parameter #1 [ $workload ] Parameter #2 [ $context ] - Parameter #3 [ $unique ] + Parameter #3 [ string or NULL $unique_key ] } } Method [ public method addTaskBackground ] { - Parameters [4] { - Parameter #0 [ $function_name ] + Parameter #0 [ string $function_name ] Parameter #1 [ $workload ] Parameter #2 [ $context ] - Parameter #3 [ $unique ] + Parameter #3 [ string or NULL $unique_key ] } } Method [ public method addTaskHighBackground ] { - Parameters [4] { - Parameter #0 [ $function_name ] + Parameter #0 [ string $function_name ] Parameter #1 [ $workload ] Parameter #2 [ $context ] - Parameter #3 [ $unique ] + Parameter #3 [ string or NULL $unique_key ] } } Method [ public method addTaskLowBackground ] { - Parameters [4] { - Parameter #0 [ $function_name ] + Parameter #0 [ string $function_name ] Parameter #1 [ $workload ] Parameter #2 [ $context ] - Parameter #3 [ $unique ] + Parameter #3 [ string or NULL $unique_key ] + } + } + + Method [ public method runTasks ] { + + - Parameters [0] { } + - Return [ bool ] } Method [ public method addTaskStatus ] { - Parameters [2] { - Parameter #0 [ $job_handle ] + Parameter #0 [ string $job_handle ] Parameter #1 [ $context ] } + - Return [ GearmanTask ] } Method [ public method setWorkloadCallback ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ callable $function ] } + - Return [ bool ] } Method [ public method setCreatedCallback ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ callable $function ] } + - Return [ bool ] } Method [ public method setDataCallback ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ callable $function ] } + - Return [ bool ] } Method [ public method setWarningCallback ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ callable $function ] } + - Return [ bool ] } Method [ public method setStatusCallback ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ callable $function ] } + - Return [ bool ] } Method [ public method setCompleteCallback ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ callable $function ] } + - Return [ bool ] } Method [ public method setExceptionCallback ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ callable $function ] } + - Return [ bool ] } Method [ public method setFailCallback ] { - Parameters [1] { - Parameter #0 [ $callback ] + Parameter #0 [ callable $function ] } + - Return [ bool ] } Method [ public method clearCallbacks ] { - Parameters [0] { } + - Return [ bool ] } - Method [ public method runTasks ] { + 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 ] } } } @@ -1168,23 +1279,18 @@ Extension [ extension #109 gearman version 2.0.6 ] { - Properties [0] { } - - Methods [14] { + - Methods [13] { Method [ public method __construct ] { - Parameters [0] { } } - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - Method [ public method returnCode ] { - Parameters [0] { } + - Return [ int ] } Method [ public method functionName ] { @@ -1209,12 +1315,14 @@ Extension [ extension #109 gearman version 2.0.6 ] { - Parameters [0] { } + - Return [ bool ] } Method [ public method isRunning ] { - Parameters [0] { } + - Return [ bool ] } Method [ public method taskNumerator ] { @@ -1229,29 +1337,29 @@ Extension [ extension #109 gearman version 2.0.6 ] { } } - Method [ public method sendWorkload ] { + Method [ public method data ] { - - Parameters [1] { - Parameter #0 [ $data ] + - Parameters [0] { } } - Method [ public method data ] { + Method [ public method dataSize ] { - Parameters [0] { } } - Method [ public method dataSize ] { + Method [ public method sendWorkload ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ string $data ] } } Method [ public method recvData ] { - Parameters [1] { - Parameter #0 [ $data_len ] + Parameter #0 [ int $data_len ] } } } @@ -1288,6 +1396,7 @@ Extension [ extension #109 gearman version 2.0.6 ] { - Parameters [0] { } + - Return [ int or NULL ] } Method [ public method error ] { @@ -1306,89 +1415,102 @@ Extension [ extension #109 gearman version 2.0.6 ] { - Parameters [0] { } + - Return [ int or NULL ] } Method [ public method setOptions ] { - Parameters [1] { - Parameter #0 [ $option ] + Parameter #0 [ int $option ] } + - Return [ bool or NULL ] } Method [ public method addOptions ] { - Parameters [1] { - Parameter #0 [ $option ] + Parameter #0 [ int $option ] } + - Return [ bool or NULL ] } Method [ public method removeOptions ] { - Parameters [1] { - Parameter #0 [ $option ] + Parameter #0 [ int $option ] } + - Return [ bool or NULL ] } Method [ public method timeout ] { - Parameters [0] { } + - Return [ int or NULL ] } Method [ public method setTimeout ] { - Parameters [1] { - Parameter #0 [ $timeout ] + Parameter #0 [ int $timeout ] } + - Return [ bool ] } Method [ public method setId ] { - Parameters [1] { - Parameter #0 [ $id ] + Parameter #0 [ string $id ] } + - Return [ bool ] } Method [ public method addServer ] { - Parameters [2] { - Parameter #0 [ $host ] - Parameter #1 [ $port ] + Parameter #0 [ string $host ] + Parameter #1 [ int $port ] } + - Return [ bool ] } Method [ public method addServers ] { - Parameters [1] { - Parameter #0 [ $servers ] + Parameter #0 [ string $servers ] } + - Return [ bool ] } Method [ public method wait ] { - Parameters [0] { } + - Return [ bool ] } Method [ public method register ] { - Parameters [2] { - Parameter #0 [ $function_name ] - Parameter #1 [ $timeout ] + Parameter #0 [ string $function_name ] + Parameter #1 [ int $timeout ] } + - Return [ bool ] } Method [ public method unregister ] { - Parameters [1] { - Parameter #0 [ $function_name ] + Parameter #0 [ string $function_name ] } + - Return [ bool ] } Method [ public method unregisterAll ] { - Parameters [0] { } + - Return [ bool ] } Method [ public method grabJob ] { @@ -1400,24 +1522,27 @@ Extension [ extension #109 gearman version 2.0.6 ] { Method [ public method addFunction ] { - Parameters [4] { - Parameter #0 [ $function_name ] - Parameter #1 [ $function ] - Parameter #2 [ $data ] - Parameter #3 [ $timeout ] + Parameter #0 [ string $function_name ] + Parameter #1 [ callable $function ] + Parameter #2 [ $context ] + Parameter #3 [ int $timeout ] } + - Return [ bool ] } Method [ public method work ] { - Parameters [0] { } + - Return [ bool ] } - Method [ public method echo ] { + Method [ public method ping ] { - Parameters [1] { - Parameter #0 [ $workload ] + Parameter #0 [ string $data ] } + - Return [ bool ] } } } @@ -1447,55 +1572,63 @@ Extension [ extension #109 gearman version 2.0.6 ] { - Parameters [0] { } + - Return [ int or NULL ] } Method [ public method setReturn ] { - Parameters [1] { - Parameter #0 [ $gearman_return_t ] + Parameter #0 [ int $gearman_return_t ] } + - Return [ bool or NULL ] } Method [ public method sendData ] { - Parameters [1] { - Parameter #0 [ $data ] + Parameter #0 [ string $data ] } + - Return [ bool or NULL ] } Method [ public method sendWarning ] { - Parameters [1] { - Parameter #0 [ $warning ] + Parameter #0 [ string $warning ] } + - Return [ bool ] } Method [ public method sendStatus ] { - Parameters [2] { - Parameter #0 [ $numerator ] - Parameter #1 [ $denominator ] + Parameter #0 [ int $numerator ] + Parameter #1 [ int $denominator ] } + - Return [ bool ] } Method [ public method sendComplete ] { - Parameters [1] { - Parameter #0 [ $result ] + Parameter #0 [ string $result ] } + - Return [ bool ] } Method [ public method sendException ] { - Parameters [1] { - Parameter #0 [ $exception ] + Parameter #0 [ string $exception ] } + - Return [ bool ] } Method [ public method sendFail ] { - Parameters [0] { } + - Return [ bool ] } Method [ public method handle ] { @@ -1520,12 +1653,14 @@ Extension [ extension #109 gearman version 2.0.6 ] { - Parameters [0] { } + - Return [ string ] } Method [ public method workloadSize ] { - Parameters [0] { } + - Return [ int or NULL ] } } } -- cgit