Refactored code to allow the use of a custom ExecutorService#756
Refactored code to allow the use of a custom ExecutorService#756fstab merged 1 commit intoprometheus:masterfrom
Conversation
|
@fstab please review. |
df722c5 to
0d12d8f
Compare
|
Thanks a lot for the PR. There are a lot of changes in this one, and I feel it would be easier to split this into independent PRs that can be discussed separately. In general, people should use the So in order to make the I know this PR is a couple of months old. Are you still available to continue this? It would be good if you could strip it down to a smaller PR that just adds the |
Signed-off-by: Doug Hoard <doug.hoard@gmail.com>
|
@fstab code has been refactored. Please review. |
|
Thanks a lot! |
Refactored code to allow the use of a custom ExecutorService.
Code was refactored since part of the building logic was in
HTTPServer.Builderand part of the logic was in aHTTPServerconstructor, resulting in no good way to introduce theExecutorService. With the refactor, allHTTPServerconstructors now use theHTTPServer.Builderfor a single point of construction.Added
TestHTTPServerBuilderto validate all of the possible builder configurations.Signed-off-by: Doug Hoard doug.hoard@gmail.com