POE::Component::DBIAgent::Queue.3pm

Langue: en

Autres versions - même langue

Version: 2008-01-18 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

POE::Component::DBIAgent::Queue -- Helper class for managing a round-robin queue of Po:Co:DBIAgent:Helper's.

SYNOPSIS

DESCRIPTION

Methods

This are the methods we recognize:
init
init the queue (currently noop)
add
append argument to the queue
clear
Clear the queue
find_by_pid
Find the index of helper with specified pid
find_by_wheelid
Find the index of helper with specified wheel id
remove_by_pid
Remove helper with specified pid
remove_by_wheelid
Remove helper with specified wheel id
next
Get next helper off the head of the queue (and put it back on the end (round robin))
make_next
Force the helper with the specified wheel id to the head of the queue.
exit_all
Tell all our helpers to exit gracefully.
kill_all
Send the specified signal (default SIGTERM) to all helper processes

AUTHOR

This module has been fine-tuned and packaged by Rob Bloodgood <robb@empire2.com>. However, most of the code came directly from Fletch <fletch@phydeaux.org> and adapted for the release of POE::Component::DBIAgent. Thank you, Fletch!

However, I own all of the bugs.

This module is free software; you may redistribute it and/or modify it under the same terms as Perl itself.