Gearman::Util(3pm)

Gearman::Util3pm

Utility functions for gearman distributed job system

Methods

cmd_name($num)

return cmd

pack_req_command($key, $arg)

return request string

pack_res_command($cmd, $arg)

return response string

read_res_packet($sock, $err_ref, $timeout)

return undef on closed socket or malformed packet

read_text_status($sock, $err_ref)

send_req($sock, $reqref)

wait_for_readability($fileno, $timeout)

given a file descriptor number and a timeout,

wait for that descriptor to become readable

return 0 or 1 on if it did or not

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9
  2. 10–13

From libgearman-client-perl 2.004.015-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.