[ 
https://issues.apache.org/jira/browse/AVRO-539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044174#comment-13044174
 ] 

James Baldassari commented on AVRO-539:
---------------------------------------

Good catch, Scott.  It looks like CallFuture has been that way from the 
beginning.  I think you're right that it would be better to use a 
CountDownLatch in this case.

I like your idea of having CallFuture implement Callback.  That would be a good 
reuse of code, and it would make it easier to implement the synchronous API 
using the callback API.  I'll try it out this weekend and see how it looks.

> Allow asynchronous clients to specify a callback to be run when server 
> processing completes
> -------------------------------------------------------------------------------------------
>
>                 Key: AVRO-539
>                 URL: https://issues.apache.org/jira/browse/AVRO-539
>             Project: Avro
>          Issue Type: New Feature
>            Reporter: Jeff Hammerbacher
>         Attachments: AVRO-539.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to