NAME

HeliosX::MetajobService - Alternative Helios::Service class to provide simple map/reduce operations

SYNOPSIS

use HeliosX::MetajobService;
blah blah blah

DESCRIPTION

This module is not yet complete, thus the documentation is not yet complete.

The idea here is to submit a metajob to a Helios collective, have the metajob burst into as many jobs as necessary to complete the task (map), wait for them to complete, and then run any final, cleanup tasks (reduce) as may be necessary.

Normally, a Helios service is simply a subclass of the Helios::Service class, and normally the only method a service class really needs to implement is the run() method,

METHODS

work()

Normal Helios::Service subclasses do not need to override work(), but since HeliosX::MetajobService has an expanded view of Helios jobs and what Helios should with them, it has to override the work() class method.

prerun()

run($job)

postrun()

SEE ALSO

Helios::Service, HeliosX::ExtLoggerService, HeliosX::Metajob

AUTHOR

Andrew Johnson, <lajandy@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2008-9 by Andrew Johnson

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.0 or, at your option, any later version of Perl 5 you may have available.