NAME
XAS::Lib::Gearman - An interface to the Gearman job queue system.
SYNOPSIS
use XAS::Class
version => '0.01',
base => 'XAS::Lib::Gearman'
;
DESCRIPTION
This is the base class for XAS::Lib::Gearman::Client and XAS::Lib::Gearman::Worker.
METHODS
new
This module will load the indicated module and initialize it. It take one parameter with three optional ones.
- -module
-
This parameter is mandatory. It is the module to load and initialize.
- -server
-
An optional server to connect too. Defaults to 'localhost'. This may be a comma seperated list of hosts and port numbers.
Example
-server => 'localhost:4730,remotehost:9600'
- -port
-
An optional IP port to connect too.
SEE ALSO
XAS
AUTHOR
Kevin Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (C) 2012 by Kevin L. Esteb
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.