Skip to content

Conversation

@aclement
Copy link
Contributor

With this change the original PathPatternParser is renamed
InternalPathPatternParser and a new PathPatternParser class is added.
This new PathPatternParser class is a very simple thread-safe wrapper for
the InternalPathPatternParser. It achieves this by creating a new
InternalPathPatternParser for each new parse request. This follows the
model used for SpEL parsing.

With this change the original PathPatternParser is renamed InternalPathPatternParser and a new PathPatternParser class is added. This new PathPatternParser class is a very simple thread-safe wrapper for the InternalPathPatternParser. It achieves this by creating a new InternalPathPatternParser for each new parse request. This follows the model used for SpEL parsing.
@aclement
Copy link
Contributor Author

Hey @bclozel - this implements what we talked about to make it multi threaded. I submitted it as a PR for you to look over. Don't feel you have to take it if you don't like the approach! Feedback welcome.

@bclozel
Copy link
Member

bclozel commented Feb 21, 2017

Thanks @aclement ! I've merged this with a0505bf and removed the concurrency checks in ParsingPathMatcher which are not necessary anymore.
Right on time for the next milestone.

@bclozel bclozel closed this Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants