You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2016/03/03 11:40:18 UTC
[jira] [Commented] (SOLR-8782) Improve SolrJ Collections async API
[ https://issues.apache.org/jira/browse/SOLR-8782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177645#comment-15177645 ]
Varun Thacker commented on SOLR-8782:
-------------------------------------
Hi Alan,
+1 for this change. Seems like a good usability improvement.
Just thinking aloud, would {{processAsyncAndWait}} be a better name for {{processAndWait}} ? Maybe adding Javadocs and keeping it {{processAndWait}} is good enough?
> Improve SolrJ Collections async API
> -----------------------------------
>
> Key: SOLR-8782
> URL: https://issues.apache.org/jira/browse/SOLR-8782
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Attachments: SOLR-8782.patch
>
>
> The async collections API is a bit difficult to use at the moment:
> - you need to create your own async ID and add it to the request
> - you then need to create a different request and poll to find out when you get a response
> - the implementation requires some complex generics just to allow a chained .setAsync() method
> I think we can improve this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org