Add ability to customize InstrumentedQueuedThreadPool
See original GitHub issueRight now InstrumentedQueuedThreadPool can be constructed with default underlying values only by implicitly calling no-arg QueuedThreadPool
constructor, which looks like this:
public QueuedThreadPool()
{
this(200);
}
While I assume default logic might be useful in some cases, having an opportunity to tweak it is something I would really like to have (I have finely tuned threadpool in production).
If team is fine with this proposal I can provide a PR, which will add bunch of overloaded constructors.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
How to override the thread pool in Spring Boot app
The thread pool in my case is InstrumentedQueuedThreadPool . ... @Override public void customize(JettyServletWebServerFactory factory) ...
Read more >Release Notes - Dropwizard Metrics
Ability to get default metrics registry without an exception #1140 ... Allow setting a custom prefix for Jetty's InstrumentedQueuedThreadPool .
Read more >How to Make Custom Sorting Headers in Tableau - phData
To get started, first set up the table you're looking to sort! Step 1: Add a new data source.
Read more >Dropwizard Documentation - Read the Docs
If, at some point, you need to change the JSON field name or the Java field without affecting the other, you can add...
Read more >Release Notes | Dropwizard
Add ConfigurationSourceProvider for reading resources from classpath #1314 ... Support for defining custom logging factories (e.g. native Logback) #996 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@IgorPerikov I think @shakuzen will take care of this.
Cool, will start working on that soon then
It would not play well also because there are too many methods in QueuedThreadPool that need to be implemented (via simple delegation). Constructors won’t bloat the code that much