Add support for  static service lifecycle listeners .
-----------------------------------------------------

                 Key: MAPREDUCE-3995
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3995
             Project: Hadoop Map/Reduce
          Issue Type: Sub-task
          Components: mrv2
    Affects Versions: 0.23.1, 0.24.0
            Reporter: Steve Loughran
            Assignee: Steve Loughran
            Priority: Minor



Add support to {{AbstractService}} that allow callers to register listeners for 
all instances. The existing listener interface could be used. This allows 
management tools to hook into the events.

The static listeners would be invoked for all state changes except creation 
(base class shouldn't be handing out references to itself at this point).

These static events could all be async, pushed through a shared 
{{ConcurrentLinkedQueue}}; failures logged at warn and the rest of the 
listeners invoked.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to