Event::ExecFlow::Scheduler::SimpleMax - Limit number of parallel executed jobs


Event-ExecFlow documentation  | view source Contained in the Event-ExecFlow distribution.

Index


NAME

Top

Event::ExecFlow::Scheduler::SimpleMax - Limit number of parallel executed jobs

SYNOPSIS

Top

  #-- Create a new Scheduler object
  my $scheduler = Event::ExecFlow::Scheduler::SimpleMax->new( max => 5 );

  #-- Attach scheduler to a group job
  $group_job->set_parallel(1);
  $group_job->set_scheduler($scheduler);

DESCRIPTION

Top

This is a simple scheduler which just limits the maximum number of parallel executed jobs. It's mainly an example implementation of the Event::ExecFlow::Scheduler interface, not really of big practical use ;)

OBJECT HIERARCHY

Top

  Event::ExecFlow

  Event::ExecFlow::Job
  +--- Event::ExecFlow::Job::Group
  +--- Event::ExecFlow::Job::Command
  +--- Event::ExecFlow::Job::Code

  Event::ExecFlow::Frontend
  Event::ExecFlow::Callbacks
  Event::ExecFlow::Scheduler
  +--- Event::ExecFlow::Scheduler::SimpleMax

METHODS

Top

[ FIXME: describe all methods in detail ]

AUTHORS

Top

 Jörn Reder <joern at zyn dot de>

COPYRIGHT AND LICENSE

Top


Event-ExecFlow documentation  | view source Contained in the Event-ExecFlow distribution.