You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2018/03/13 17:51:00 UTC

[jira] [Resolved] (THRIFT-4429) Make TThreadPoolServer.executorService_ available in inherited classes and refactor methods to be able customization

     [ https://issues.apache.org/jira/browse/THRIFT-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James E. King, III resolved THRIFT-4429.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.12.0

Committed - thanks.

> Make TThreadPoolServer.executorService_ available in inherited classes and refactor methods to be able customization
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-4429
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4429
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>    Affects Versions: 0.11.0
>            Reporter: Dmitry Volodin
>            Assignee: James E. King, III
>            Priority: Minor
>             Fix For: 0.12.0
>
>
> In some cases (for example in Apache Camel component for Thrift) there is a requirement, when it is necessary not only to transfer executorService from the external system through the Args in TThreadPoolServer , but to organize control them from outside. In this case, it's possible to create a class which is inherited from TThreadPoolServer, but not possible to access invoker in overloaded method.
> Also a good approach to split main execution code to the several methods to be able to invoke them separately in appropriate sequence.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)