[jboss-user] [JBoss Cache: Core Edition] - How to subclass JDBCCacheLoader

jorgemoralespou_2 do-not-reply at jboss.com
Wed Apr 1 06:24:54 EDT 2009


Hi,
We have a requisite to remove old data from datastore that has not been used for a long time, or for example, as a ersult of an scheduled task, for example, every midnight, or data that is in DB for longer than 6 hours.
We are trying to subclass JDBCCacheLoader, to add a timestamp column, so we can remove old data from DB, but this class is not meant for subclassing, so we have to almost rewrite it completely, and aldo configs, and so on.
In JBC 1.4 this process was a lot easier.
Would it be possible to design cache loaders to be subclassable?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222569#4222569

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222569



More information about the jboss-user mailing list