[infinispan-issues] [JBoss JIRA] Commented: (ISPN-333) Cache Loader Class Instantiated Twice
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Tue Mar 9 07:35:05 EST 2010
[ https://jira.jboss.org/jira/browse/ISPN-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12518911#action_12518911 ]
Manik Surtani commented on ISPN-333:
------------------------------------
Implemented using a new annotation (@CacheLoaderMetadata) which can be used to annotate CacheLoader and CacheStore implementations. This will provide the necessary CacheLoaderConfig type information such that two instances won't be created.
Note that the annotation is *not* mandatory and if it is not provided, the configuration parser will fall back to instantiating the CacheLoader/Store to obtain this information. See http://fisheye.jboss.org/browse/Infinispan/trunk/core/src/main/java/org/infinispan/loaders/CacheLoaderMetadata.java?r=1578
> Cache Loader Class Instantiated Twice
> -------------------------------------
>
> Key: ISPN-333
> URL: https://jira.jboss.org/jira/browse/ISPN-333
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 4.0.0.Final
> Reporter: Amin Abbaspour
> Assignee: Manik Surtani
> Priority: Minor
> Fix For: 4.1.0.ALPHA1, 4.1.0.Final
>
>
> Cache Loader Class Instantiated Twice. Place a static counter in the constructor and see this happen.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list