NAME

Thruk::Backend::Pool - Pool of backend connections

DESCRIPTION

Pool of backend connections

METHODS

new

Thruk::Backend::Pool->new($backend_configs)

return new db connection pool

peer_add

peer_add($peer)

add peer to pool

peer_remove

peer_remove($key|$peer)

remove peer from pool

shutdown_threads

shutdown_threads()

shutdown thread connection pool

_do_thread

_do_thread()

do the work on threads

do_on_peer

do_on_peer($self, $key, $function, $args)

run a function on a backend peer

set_logger

set_logger($logger, $verbose)

set logger object for all pool peers and sets verbose