Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve thread safety of ResourceManager
This is the first step in the process of making ResourceManager and ConnectorManager more thread-safe (MID-5954). Here we only change ResourceCache to implement Cacheable, in order to receive invalidation requests. Also some minor refactorings in ResourceManager were done, mainly regarding (im)mutability of resource objects being worked with. (cherry picked from commit 4a773f1)
- Loading branch information
Showing
4 changed files
with
364 additions
and
314 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
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
Oops, something went wrong.