|servers||An arrayref of servers that can be connected to. Must be in the host:port format. By default the module wil randomly select a server to connect to. You can change this behaviour with the random_servers option.|
|random_servers||If given a false value, the module will follow the order of the servers array and select the next server in the list on subsequent calls to next_server(); When using this module as a producer, it is best to leave the default value of true, so the clients will randomly connect to one of your beantalkd servers.|
|auto_next_server||Will automatically go to the next or a random server after a successful put or delete. Default value is false.|
|report_errors||When given a false value, the module will not give any errormessages out loud. And will only exit the functions with an undefined value, the corresponding error-messages however will be found in the errstr variable of the object.|
|connect_timeout||Amount of seconds to wait for a connection to go through. Default is 0.25 second.|
|select_timeout||Amount of seconds to wait for a socket to have data available. Default is 1 second.|
|reserve_timeout||Amount of seconds to wait for an available job to reserve. Default is 10 seconds.|
CWput$jobs->put($job_data[, $priority, $delay])
Insert a job into the queue. Priority is an integer between 0 (highest) and 4294967295 (lowest). Default priority is 4294967295. Default delay is 0.
Returns an undefined value on errors, inserted or burried.
Release the current reserved job. The default is to use the same priority as the job had, and 0 second delay.
Delete the current reserved job. Removes the job from the queue as the job is finished.
Haakon Nessjo\k:/en, Loopback Systems AS, <email@example.com>
Copyright (c) 2007 by Loopback Systems AS
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 620: Non-ASCII character seen before =encoding in Haakon. Assuming ISO8859-1
|perl v5.20.3||QUEUE::BEANSTALK (3)||2016-03-17|