XAS::Lib::Gearman::Client::Status - Return the clients status.
use XAS:::Lib::Gearman::Client::Status; my $status = XAS::Lib::Gearman::Client::Status->new( -jobid => $jobid, -handle => $handle );
This module is a wrapper around the Gearman Admin protocol. If returns an object for the status information returned by the gearman job_status call.
The initializes the module and retireves the status of the job. It takes two parameters:
The id of the background job.
The handle to the gearman interface.
Returns wither the job is known to gearman.
Returns the status of the job.
Returns the numerator of the status.
Returns the denominator of the status.
Gearman::XS Gearman::XS::Client Gearman::XS::Worker
XAS
Kevin L. Esteb, <kevin@kesteb.us>
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.
To install XAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS
CPAN shell
perl -MCPAN -e shell install XAS
For more information on module installation, please visit the detailed CPAN module installation guide.