[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-848) Implement putFromExternalRead()
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Thu Mar 15 21:07:53 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-848?page=comments#action_12356297 ]
Manik Surtani commented on JBCACHE-848:
---------------------------------------
Following the call we had with the HIbernate folk on 26 FEB 2007, here are the salient points wrt. putForExternalRead (PFER)
- PFER only goes through if node does not exist; no-op otherwise
- Force asynchronous mode for replication or invalidation to prevent any blocking
- 0ms lock timeout to prevent any blocking here either. If this fails, PFER is a no-op
- no to separate thread necessary, since we will be operating with a 0ms timeout, async replication and a no-op if the node exists. The only real chance of any blocking here is JGroups FC which is considered small enough a case.
Existing points which still are valid from the wiki link above:
* Suspend all ongoing TXs.
* Quieter logging. Errors and the like that would otherwise raise alarm bells should be suppressed since this is a non-critical call.
This serves as a "spec" for PFER and the basis for unit tests.
> Implement putFromExternalRead()
> -------------------------------
>
> Key: JBCACHE-848
> URL: http://jira.jboss.com/jira/browse/JBCACHE-848
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Manik Surtani
> Assigned To: Manik Surtani
> Fix For: 2.0.0.GA, 2.0.0.BETA2
>
>
> This is to supercede putFailFast() in JBC 1.x as well as the Option.FAIL_SILENTLY option, for Hibernate to use when doing a DB read and putting the contents into the cache.
> See forum link for details of this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list