You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2010/10/15 18:38:32 UTC
[jira] Commented: (THRIFT-957) THsHaServer: Change access modifier
of the invoker field.
[ https://issues.apache.org/jira/browse/THRIFT-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921435#action_12921435 ]
Bryan Duxbury commented on THRIFT-957:
--------------------------------------
Out of curiosity, if you're going to go as far as implementing your own runnables and executor service, why not subclass TNonblockingServer?
> THsHaServer: Change access modifier of the invoker field.
> ---------------------------------------------------------
>
> Key: THRIFT-957
> URL: https://issues.apache.org/jira/browse/THRIFT-957
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Library
> Affects Versions: 0.4, 0.5, 0.6, 0.7
> Reporter: Benjamin Coverston
> Fix For: 0.5, 0.6, 0.7
>
> Attachments: thrift-trunk-957.txt
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> I would like to subclass the THsHaServer so that I can override the protected requestInvoke method. I need to implement my own Runnable with the declared ExecutorService. This is hard to do cleanly without the ability to access the invoker field.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.