許家瑋 > HTTP-Balancer > HTTP::Balancer::Actor

Download:
HTTP-Balancer-0.0.2.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

HTTP::Balancer::Actor - the base class of actors of HTTP::Balancer

SYNOPSIS ^

    package HTTP::Balancer::Actor::Foo;
    use Modern::Perl;
    use Moose;
    extends qw(HTTP::Balancer::Actor);

    sub start { ... }
    sub stop  { ... }

    1;
    __DATA__
    here goes the template of configuration

DESCRIPTION ^

The Actor in HTTP::Balancer stands for the process manager of implementations of http balancer.

Each subclass of HTTP::Balancer::Actor will be mapped to one implementation such as Perlbal or Nginx.

syntax highlighting: