Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-5732

EventService shutdown should kill async threads

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: Core
    • Impact type:
      API added
    • Upgrade notes:
      Hide

      New APIs allowing use of timeouts:
      EventService.waitForAsyncCompletion(timeout)
      EventServiceImpl.shutdown(timeout)
      EventServiceImpl.shutdown()

      New system property org.nuxeo.ecm.core.event.shutdown.timeoutMillis to control the EventServiceComponent shutdown waiting time.

      Show
      New APIs allowing use of timeouts: EventService.waitForAsyncCompletion(timeout) EventServiceImpl.shutdown(timeout) EventServiceImpl.shutdown() New system property org.nuxeo.ecm.core.event.shutdown.timeoutMillis to control the EventServiceComponent shutdown waiting time.

      Description

      When the EventService shuts down, it should shutdown the Async Event Executor to free its threads.
      This is important in unit tests settings when the event service is repeatedly started and stopped.

        Attachments

          Activity

            People

            • Assignee:
              fguillaume Florent Guillaume
              Reporter:
              fguillaume Florent Guillaume
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: