Romain Manni-Bucau created BEAM-4039:

             Summary: ExecutorServiceParallelExecutor should have a unified 
shutdown collection
                 Key: BEAM-4039
             Project: Beam
          Issue Type: Improvement
          Components: runner-direct
            Reporter: Romain Manni-Bucau
            Assignee: Thomas Groh

Goal of this ticket is to ensure the executor doesn't have to know each single 
instances of what it destroys at shutdown time.

Proposal is to have a list of closeable (or autocloseable) which and a 
registerCloseable which would decouple it.

Side note: it is still key to ensure the list is 1. sorted and 2. any error 
doesn't prevent to call next element

This message was sent by Atlassian JIRA

Reply via email to