NAME
Apache::BalancerManager::Member - ClientSide representation of Apache BalancerManager Member
ATTRIBUTES
load_factor
writeable
. See lbfactor.
lb_set
writeable
. See lbstatus.
route
writeable
. See route
route_redirect
writeable
. I'm not really sure what this is.
status
writeable
. Boolean for whether or not the member is enabled
times_elected
not writeable
. Number of times the member has been elected
location
not writeable
. The full path of the member, for example, http://127.0.0.1:5021
.
from
not writeable
. The amount of data that has come out of the member.
to
not writeable
. The amount of data that has been sent to the member.
METHODS
enable
sets the status
to 1
disable
sets the status
to 0
update
No arguments. Updates the balancer manager to have the value of the current object.
my $member = $manager->get_member_by_location('http://127.0.0.1:5001');
$member->disable;
$member->update;
AUTHORS
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
Wes Malone <wesm@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.