[infinispan-issues] [JBoss JIRA] Commented: (ISPN-293) implement asynchronous get method getAsync()
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Thu Feb 3 02:37:39 EST 2011
[ https://issues.jboss.org/browse/ISPN-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579769#comment-12579769 ]
Galder Zamarreño commented on ISPN-293:
---------------------------------------
>From IRC yesterday:
{code}
4:57:13 PM galderz: so the idea would be for a getAll() which underneath would fire concurrent N calls I suppose?
4:57:28 PM galderz: that sounds like the most sensible thing
4:58:23 PM galderz: manik: updated pull req
4:59:39 PM manik: galderz: no, the idea is for a getAsync() which returns a future.
4:59:40 PM emmanuel: galderz: the problem with getAll is that we need to wait for the data to come back, where as with future, we can go ahead with our algorithm and ask for keys on the fly and pile up the futures
5:00:10 PM manik: galderz: getAllAsync() could also be implemented as syntactic sugar over multiple calls to getAsync()
5:00:23 PM galderz: indeed
5:00:23 PM manik: but IMO I'd prefer that we don't add getAllAsync() to the API
5:01:20 PM galderz: ok, we can discuss this further tomorrow AM
{code}
> implement asynchronous get method getAsync()
> --------------------------------------------
>
> Key: ISPN-293
> URL: https://issues.jboss.org/browse/ISPN-293
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API
> Reporter: Sanne Grinovero
> Assignee: Galder Zamarreño
> Labels: APIs, async
> Fix For: 5.0.0.ALPHA3, 5.0.0.Final
>
>
> Like other async methods existing it would be useful (natural) to have a method getAsync() for prefetching of data not immediately required.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list