commit | eee9f7f84876a81854279e47779f6e8d70c03cda | [log] [tgz] |
---|---|---|
author | Timothy A. Bish <tabish@apache.org> | Tue Apr 23 20:53:01 2013 +0000 |
committer | Timothy A. Bish <tabish@apache.org> | Tue Apr 23 20:53:01 2013 +0000 |
tree | 05b334cddb6ec27be8d7246927fe84a5b9acaf1f | |
parent | cef455f2d7c4441945920251c3a595dca7a64650 [diff] |
ThreadPoolExecutor should be allowed to complete pending tasks after Shutdown is called, but reject any new tasks. Add an AwaitTermination method to allow for orderly shutdown before abandoning outstanding work.