perl-Cantella-Worker-0.002003-alt1.noarch.rpm


Advertisement

Description

perl-Cantella-Worker - Worker/Manager worker pool system

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Cantella-Worker
Package version 0.002003
Package release alt1
Package architecture noarch
Package type rpm
Installed size 30.54 KB
Download size 30.54 KB
Official Mirror ftp.altlinux.org
package TestPreforkWorkerClass;.    use Moose;
with 'Cantella::Worker::Role::Worker';
has work_pile => (
is => 'ro',
isa => 'ArrayRef',
default => sub{ [1..5] },
required => 1
);
sub get_work {
my $self = shift;
return unless @{ $self->work_pile };
}
sub work {
my ($self,$work) = @_;
print STDOUT "===DOING ${work}===\n";
}
my $manager = Cantella::Worker::Manager::Prefork->new(
logger => [
[ File => (
filename => 'myapp-error.log',
newline => 1,
mode => '>>',
min_level => 'warning'
)
],
],
workers => 3,
worker_class => 'TestPreforkWorkerClass',
max_worker_age => 300,
close_on_call => 0,
worker_args => {
interval => 1,
logger => [
[ Screen => (newline => 1, min_level => 'debug') ],
],
},
worker_stderr_log_level => 'notice',
worker_stdout_log_level => 'info',
);
$manager->start;

Alternatives

Package Version Architecture Repository
perl-Cantella-Worker - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/GUID.pm) >= 0.044
perl(Moose.pm) >= 0.940
perl(Moose/Role.pm) -
perl(Moose/Util.pm) -
perl(MooseX/Types.pm) >= 0.150
perl(MooseX/Types/Common/String.pm) -
perl(MooseX/Types/Log/Dispatch.pm) >= 0.002
perl(MooseX/Types/Moose.pm) -
perl(POE.pm) >= 1.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Cantella/Worker.pm) = 0.002.003
perl(Cantella/Worker/Manager/Prefork.pm) = 0.002.002
perl(Cantella/Worker/Role/Worker.pm) = 0.001.001
perl(Cantella/Worker/Types.pm) = 0.001.001
perl-Cantella-Worker = 0.002003-alt1

Download

Type URL
Binary Package perl-Cantella-Worker-0.002003-alt1.noarch.rpm
Source Package perl-Cantella-Worker-0.002003-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Cantella-Worker rpm package:
    # sudo apt-get install perl-Cantella-Worker

Files

Path
/usr/share/doc/perl-Cantella-Worker-0.002003/Changes
/usr/share/doc/perl-Cantella-Worker-0.002003/README
/usr/share/perl5/Cantella/Worker.pm
/usr/share/perl5/Cantella/Worker/Types.pm
/usr/share/perl5/Cantella/Worker/Manager/Prefork.pm
/usr/share/perl5/Cantella/Worker/Role/Worker.pm

See Also

Package Description
perl-Cantella-Worker-Role-Beanstalk-0.001000-alt1.noarch.rpm Fetch Cantella::Worker jobs from beanstalkd
perl-CanvasCloud-0.006-alt1.noarch.rpm Perl access for Canvas LMS API
perl-Captcha-AreYouAHuman-0.00004-alt1.noarch.rpm Integrate the AreYouAHuman.com CAPTCHA-alterantive human verification into your Perl application
perl-Captcha-NocaptchaMailru-1.0.0-alt1.noarch.rpm Module for working with Nocaptcha Mail.Ru service
perl-Captcha-Peoplesign-0.00005-alt1.noarch.rpm Easily integrate Peoplesign CAPTCHA in your Perl application
perl-Captcha-Stateless-0.04-alt1.noarch.rpm A stateless captcha implementation that stores state in an HTTP cookie in the browser
perl-Captcha-noCAPTCHA-0.16-alt1.noarch.rpm perl module Captcha-noCAPTCHA
perl-Captcha-reCAPTCHA-Mailhide-0.94-alt1.noarch.rpm A Perl implementation of the reCAPTCHA Mailhide API
perl-Captcha-reCAPTCHA-V2-0.3-alt1.noarch.rpm A Perl implementation of reCAPTCHA API version 2
perl-Captive-Portal-4.10-alt1.noarch.rpm Perl based solution for controlled network access
perl-Capture-Attribute-0.003-alt1.noarch.rpm s/return/print/g
perl-Capture-SystemIO-0.01-alt1.noarch.rpm system() capture stderr, stdout, and signals
perl-Capture-Tiny-Extended-0.114-alt1.noarch.rpm Capture STDOUT and STDERR from from Perl, XS or external programs (with some extras)
perl-Capulcu-Bot-0.1-alt1.noarch.rpm Capulcu Bot
perl-Capulcu-Bot-scripts-0.1-alt1.noarch.rpm Capulcu-Bot scripts
Advertisement
Advertisement