Hopkins::Queue - hopkins queue states and methods
Hopkins::Queue contains all of the POE event handlers and supporting methods for the initialization and management of each configured hopkins queue.
write the queue's state to disk.
stops the queue, shutting down the PoCo::JobQueue session if running by sending a stop event to it.
halts the queue. no tasks will be executed, although tasks may still be enqueued.
reverses the action of halt by starting the queue back up. the existing state of the frozen flag will be preserved.
freezes the queue. no more tasks will be enqueued, but currently queued tasks will be allowed to execute.
reverses the action of freeze by unsetting the frozen flag. tasks will not be queable. the existing halt state will be preserved.
shuts the queue down. this is basically a shortcut for the freeze and halt actions. no more tasks will be executed and no further tasks may be enqueud.
flush the queue of any tasks waiting to execute. stops the PoCo::JobQueue session (if running) and clears the internal list of tasks. if the queue was running prior to the flush, the PoCo::JobQueue session is spun back up.
Mike Eldridge <firstname.lastname@example.org>
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.