eclipse-vertx / eclipse-vertx/vert.x
Modify ExecutorServiceFactory API to provide a way to distinguish between pool types
Open
enhancement
- Dominant language
- Java
- Stars
- 14.7k
- Forks
- 2.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 28
Description
#### Describe the feature
When `ExecutorServiceFactory.createExecutor()` is called, provide a method on the API to distinguish the type of executor being created. Maybe it's as simple as passing the name the `ThreadFactory` is created with?
#### Use cases
In Quarkus we want the ability to replace the default Executor in some situations, such as the Vert.x worker thread pool, with a shared pool we've created, but other pools create their own `Executor` instance.
#### Contribution
Happy to contribute a PR once it's determined the best way to provide an indicator to differentiate the pool types
Contributor guide
Assessment
This issue has not been assessed yet.