NAME

Gearman::XS::Task - Perl task for gearman using libgearman

DESCRIPTION

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

METHODS

$task->job_handle()

Get job handle for a task.

$task->data()

Get data being returned for a task.

$task->data_size()

Get data size being returned for a task.

$task->function_name()

Get function name associated with a task.

$task->numerator()

Get the numerator of percentage complete for a task.

$task->denominator()

Get the denominator of percentage complete for a task.

$task->unique()

Get unique identifier for a task.

$task->is_known()

Get status on whether a task is known or not. Returns 1 if known, empty string if not.

$task->is_running()

Get status on whether a task is running or not. Returns 1 if running, empty string if not.

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>