thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Coverston (JIRA)" <j...@apache.org>
Subject [jira] Commented: (THRIFT-957) THsHaServer: Change access modifier of the invoker field.
Date Sat, 16 Oct 2010 11:05:23 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921676#action_12921676
] 

Benjamin Coverston commented on THRIFT-957:
-------------------------------------------

The executor service is the class that I specifically don't want to rewrite. I want to use
the executor service that is already there. I can't effectively do that in my overridden class
unless unless that variable is protected. Otherwise I agree, if I were going to write my own
executor service I wouldn't need this done at all.

> 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.


Mime
View raw message