Stefan Egli created SLING-4684:
----------------------------------

             Summary: Stress that handleTopologyEvent() should be lock-free and 
terminate quickly
                 Key: SLING-4684
                 URL: https://issues.apache.org/jira/browse/SLING-4684
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: Discovery API 1.0.2
            Reporter: Stefan Egli
            Assignee: Stefan Egli
             Fix For: Discovery API 1.0.4


The TopologyEventHandler.handleTopologyEvent() javadoc should be updated with:
 * the fact that it should terminate quickly and not do any length operations 
(as this could potentially hold back any other handler and it was not intended 
to support long-running handle calls)
 * the fact that the handleTopologyEvent() caller could potentially hold locks 
and handleTopologyEvent() itself should be (dead-)lock free



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to