Dominik Schulz > Job-Manager-0.16 > Job::Manager

Download:
Job-Manager-0.16.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.16   Source  

NAME ^

Job::Manager - a parallel job execution manager

SYNOPSIS ^

    use Job::Manager;
    use Job::Manager::Job;

    my $Mgm = Job::Manager::->new({
        'logger' => $logger,
        'concurrency' => '4',
    });
    foreach my $i ( 1 .. 60 ) {
        my $Job = Job::Manager::Job::->new({
            'logger' => $logger,
        });
        $Mgm->add($Job);
    }
    $Mgm->run();

METHODS ^

add

Add a single job to the queue.

add_batch

Add a list of jobs to the queue.

run

Process the whole job queue.

NAME ^

Job::Manager - Parallel job execution manager.

AUTHOR ^

Dominik Schulz <dominik.schulz@gauner.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Dominik Schulz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: