Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow overriding request executor #2959

Merged
merged 2 commits into from Oct 6, 2019
Merged

allow overriding request executor #2959

merged 2 commits into from Oct 6, 2019

Conversation

yq314
Copy link
Contributor

@yq314 yq314 commented Oct 3, 2019

Problem:

Similar to #2958, this is a further improvement to allow passing in a customised RequestExecutor so that we can additional metrics regarding cache hit and cache miss.

Solution:

Instead of fixed new InstrumentedHttpRequestExecutor(), allow the subclasses to provide their own implementation of HttpRequestExecutor

Result:

N.A.

@joschi
Copy link
Member

joschi commented Oct 6, 2019

@yq314 Could you please rebase this pull request on the latest "master" branch?

@jplock jplock added this to the 2.0.0 milestone Oct 6, 2019
@yq314
Copy link
Contributor Author

yq314 commented Oct 6, 2019

Hi @joschi done :)

@joschi joschi merged commit 8cad873 into dropwizard:master Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants