NAME
Gearman::Objects - a parent class for Gearman::Client and Gearman::Worker
METHODS
job_servers([$js])
getter/setter
$js
array reference or scalar
set_job_servers($js)
set job_servers attribute by canonicalized $js
_
canonicalize_job_servers($js)
$js
a string, hash reference or array reference of aforementioned.
Hash reference should contain at least host key.
All keys: host, port (4730 on default), use_ssl, key_file, cert_file, ca_certs, socket_cb
return [canonicalized list]
prefix([$prefix])
getter/setter
socket($js, [$timeout])
depends on use_ssl
prepare IO::Socket::IP or IO::Socket::SSL
$host_port
peer address$timeout
default: 1
return depends on use_ssl
IO::Socket::(IP|SSL) on success
sock_nodelay($sock)
set TCP_NODELAY on $sock, die on failure