NAME
Hopkins::Manager - hopkins manager session states
DESCRIPTION
Hopkins::Manager encapsulates the manager session, which is responsible for configuration parsing and change scanning, queue and plugin management, and last, but certainly not least, task scheduling.
STATES
- new
- start
- stop
- init_queues
- queue_failure
- init_store
- init_config
- init_plugins
- config_load
- config_scan
- shutdown
- scheduler
- executor
- enqueue
-
enqueue a task by creating a Work object and adding it to the destination Queue object's list. if the destination queue is not running, no Work will be created and an error 0 will be returned to the caller.
this state may be posted to by any session, but is primarily utilized by the manager session's executor alarms. the RPC plugin exposes an enqueue method via SOAP that posts to this event. the HMI plugin also exposes an enqueuing mechanism via a web interface.
AUTHOR
Mike Eldridge <diz@cpan.org>