[ https://issues.apache.org/jira/browse/THRIFT-903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910797#action_12910797 ]
Robey Pointer commented on THRIFT-903: -------------------------------------- another way to do this would be to allow a custom ThreadPoolExecutor to be passed in to the constructor. we've been talking about this recently and may have a patch to submit. > custom ThreadFactory in THsHaServer > ----------------------------------- > > Key: THRIFT-903 > URL: https://issues.apache.org/jira/browse/THRIFT-903 > Project: Thrift > Issue Type: Improvement > Components: Java - Library > Affects Versions: 0.4 > Reporter: Piotr Bartosiewicz > Priority: Minor > Fix For: 0.6 > > > THsHaServer uses ThreadPoolExecutor with Executors.defaultThreadFactory(). It > would be nice if THsHaServer had a constructor with custom worker threads > factory. > The custom factory allows to: > - create a worker threads with other priority than default > - create a worker threads with custom names (usefull when debugging > application with more than one thrift server and many threads) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.