reuse code between BinaryCacheStore and StringBasedCacheStore
-------------------------------------------------------------
Key: ISPN-88
URL:
https://jira.jboss.org/jira/browse/ISPN-88
Project: Infinispan
Issue Type: Feature Request
Reporter: Mircea Markus
Assignee: Manik Surtani
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