-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pooling workflows and Shared connections fun. (#1116)
* Changed the map holding the consumers, producers and listeners to use thread safe maps. * Switched so we still use a weak map as the base map, but wrap it with Collections.synchronizedMap. Also added a unit test that consistently fails when not wrapping the weak map.
- Loading branch information
1 parent
bb15b98
commit 353025f
Showing
2 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters