NAME
Gearman::XS::Server - Perl gearman server using libgearman-server
SYNOPSIS
use Gearman::XS qw(:constants);
use Gearman::XS::Server;
$server = Gearman::XS::Server->new();
$server->run();
DESCRIPTION
Gearman::XS::Server is a server class for the Gearman distributed job system using libgearman-server.
CONSTRUCTOR
Gearman::XS::Server->new($host, $port)
Create a server instance. If host and port are not specified they default to GEARMAN_DEFAULT_TCP_HOST and GEARMAN_DEFAULT_TCP_PORT. Returns a Gearman::XS::Server object.
METHODS
$server->run()
Run the server instance. Returns a standard gearman return value.
$server->set_backlog($num)
Set number of backlog connections for listening connection.
$server->set_job_retries($num)
Set maximum job retry count.
$server->set_threads($num)
Set number of I/O threads for server to use.
BUGS
Any in libgearman-server plus many others of my own.
COPYRIGHT
Copyright (C) 2009 Dennis Schoen
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.9 or, at your option, any later version of Perl 5 you may have available.
WARRANTY
This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Dennis Schoen <dennis@blogma.de>