Gearman::Objects - a parent class for Gearman::Client and Gearman::Worker
getter/setter
$js array reference or scalar
$js
set job_servers attribute by canonicalized $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]
depends on use_ssl prepare IO::Socket::IP or IO::Socket::SSL
use_ssl
$host_port peer address
$host_port
$timeout default: 1
$timeout
return depends on use_ssl IO::Socket::(IP|SSL) on success
set TCP_NODELAY on $sock, die on failure
To install Gearman::Job, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gearman::Job
CPAN shell
perl -MCPAN -e shell install Gearman::Job
For more information on module installation, please visit the detailed CPAN module installation guide.