[infinispan-issues] [JBoss JIRA] Updated: (ISPN-88) reuse code between BinaryCacheStore and StringBasedCacheStore

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Jun 8 11:34:57 EDT 2009


     [ https://jira.jboss.org/jira/browse/ISPN-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani updated ISPN-88:
------------------------------

        Fix Version/s: 4.0.0.BETA1
    Affects Version/s: 4.0.0.ALPHA4


> reuse code between BinaryCacheStore and StringBasedCacheStore
> -------------------------------------------------------------
>
>                 Key: ISPN-88
>                 URL: https://jira.jboss.org/jira/browse/ISPN-88
>             Project: Infinispan
>          Issue Type: Feature Request
>    Affects Versions: 4.0.0.ALPHA4
>            Reporter: Mircea Markus
>            Assignee: Mircea Markus
>             Fix For: 4.0.0.BETA1
>
>
> There is some code duplication between JdbcStringBasedCacheStore and JdbcBinaryCacheStore, factorize that in a common utility class:
> Mrthods that need to be considered are:
> - clear (very similar)
> - fromStream and toStream (both use PreparedStatements(BLOB, timestamp, key)
> - loadAll 
> At current time we cannot create a base class for the two stores, as they inherit from different classes. This will need some thought..

-- 
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