GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gearman::Objects(3) User Contributed Perl Documentation Gearman::Objects(3)

Gearman::Objects - a parent class for Gearman::Client and Gearman::Worker

Initialize the list of job servers. $job_serversshould be array or array reference of hash references or stringified job servers. If the port number is not provided, 4730 is used as the default. For example:

    C<< $client->job_servers('127.0.0.1', { host => "192.168.1.100", port => 4730 }); >>

return "[job_servers]"

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, ca_file, cert_file, key_file, socket_cb

return [canonicalized list]

return "join $prefix_separator, $prefix, $func"

get/set the namespace / prefix for the function names.

getter/setter

default: "\t"

If gearmand uses memcached persistent queue type, override default separator to insure jobs recovery

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

set TCP_NODELAY on $sock, die on failure
2018-08-24 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.