The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Gearman::XS::Job - Perl job for gearman using libgearman

DESCRIPTION

Gearman::XS::Job is a job class for the Gearman distributed job system using libgearman.

METHODS

$job->workload()

Get the workload for a job.

$job->handle()

Get job handle.

$job->function_name()

Get the function name associated with a job.

$job->unique()

Get the unique ID associated with a job.

$job->send_status($numerator, $denominator)

Send status information for a running job. Returns a standard gearman return value.

$job->send_data($data)

Send data for a running job. Returns a standard gearman return value.

$job->send_fail()

Send fail status for a job. Returns a standard gearman return value.

$job->send_complete($result)

Send result and complete status for a job. Returns a standard gearman return value.

$job->send_warning($warning)

Send warning for a running job. Returns a standard gearman return value.

BUGS

Any in libgearman plus many others of my own.

COPYRIGHT

Copyright (C) 2013 Data Differential, ala Brian Aker, http://datadifferential.com/ Copyright (C) 2009-2010 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

Brian Aker <brian@tangent.org>