[infinispan-issues] [JBoss JIRA] (ISPN-1986) Make putForExternalRead return a boolean instead of void
Dan Berindei (JIRA)
jira-events at lists.jboss.org
Tue Jul 2 09:35:21 EDT 2013
[ https://issues.jboss.org/browse/ISPN-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786967#comment-12786967 ]
Dan Berindei commented on ISPN-1986:
------------------------------------
putForExternalRead also uses the FORCE_ASYNCHRONOUS flag, so it's impossible to tell whether the entry was actually written to the key owners in a distributed cache (or to all the owners, in a replicated cache). If we added a return value, it would only be relevant in local or invalidation caches.
> Make putForExternalRead return a boolean instead of void
> --------------------------------------------------------
>
> Key: ISPN-1986
> URL: https://issues.jboss.org/browse/ISPN-1986
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core API
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Critical
> Fix For: 6.0.0.Beta2, 6.0.0.Final
>
>
> Related to ISPN-1983 and https://hibernate.onjira.com/browse/HHH-7256, I'd like to change the API of putForExternalRead() to return a boolean instead of void.
> The reason for doing this is to be able to find out if the PFER did actually end up storing something or not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list