-
Notifications
You must be signed in to change notification settings - Fork 45
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
add api for setting thread pool name #6
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6 +/- ##
==========================================
+ Coverage 22.75% 22.97% +0.22%
==========================================
Files 42 43 +1
Lines 1257 1262 +5
Branches 227 227
==========================================
+ Hits 286 290 +4
- Misses 943 944 +1
Partials 28 28
Continue to review full report at Codecov.
|
ThreadFactory factory = new BasicThreadFactory.Builder() | ||
.namingPattern(name) | ||
.build(); | ||
return java.util.concurrent.Executors.newFixedThreadPool(size, factory); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not import java.util.concurrent.Executors
Change-Id: I93aeddc6783e6b03d2aa31aa8ca42059e253ba81
Change-Id: I93aeddc6783e6b03d2aa31aa8ca42059e253ba81