Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5621

Add InitDelayingTopologyEventListener, a listener that can delay the first INIT event

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Discovery Commons 1.0.10
    • Discovery Commons 1.0.12
    • Extensions
    • None

    Description

      InitDelayingTopologyEventListener came up as part of SLING-5560: a TopologyEventListener that holds back events until a certain 'startup time' has passed, after which it will either send a TOPOLOGY_INIT (if the last held back event was either TOPOLOGY_INIT, TOPOLOGY_CHANGED or PROPERTIES_CHANGED) - or it waits for the next such stable event (when it got a TOPOLOGY_CHANGING as the last event). This could be of general use, hence moved it from sling.event to sling.discovery.commons. At this stage this is a plain listener class - perhaps this could be made something like a property of a listener at some later point - but at this stage this simple approach seems good enough.

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: