1Gearman::Util(3)      User Contributed Perl Documentation     Gearman::Util(3)
2
3
4

NAME

6       Gearman::Util - Utility functions for gearman distributed job system
7

METHODS

9   cmd_name($num)
10       return cmd
11
12   pack_req_command($key, $arg)
13       return request string
14
15   pack_res_command($cmd, $arg)
16       return response string
17
18   read_res_packet($sock, $err_ref, $timeout)
19       return undef on closed socket or malformed packet
20
21   read_text_status($sock, $err_ref)
22   send_req($sock, $reqref)
23   wait_for_readability($fileno, $timeout)
24       given a file descriptor number and a timeout,
25
26       wait for that descriptor to become readable
27
28       return 0 or 1 on if it did or not
29
30
31
32perl v5.36.0                      2023-01-20                  Gearman::Util(3)
Impressum