[jbosscache-dev] Need for CacheLoader.storeState?

Manik Surtani manik at jboss.org
Mon Sep 4 07:10:47 EDT 2006


Bela wrote the BdbjeCacheLoader and the JdbmCacheLoader was  
contributed by Elias Ross.  I don't think we should count on the  
original authors implementing this change though.

+1 to the abstract put() in AbstractCacheLoader; -1 to exposing it in  
the interface since it is not a method sig that is used directly by  
the interceptors but an internal one.

Cheers,
--
Manik Surtani

Lead, JBoss Cache
JBoss, a division of Red Hat

Email: manik at jboss.org
Telephone: +44 7786 702 706
MSN: manik at surtani.org
Yahoo/AIM/Skype: maniksurtani


On 1 Sep 2006, at 19:32, Vladimir Blagojevic wrote:

> Yeah. Either that or expose method with boolean in CacheLoader  
> interface
> and implement method without boolean at AbstractCacheLoader with  
> default
> (true|false) parameter as a convenience.
>
> But I am not sure how to implement method with boolean for
> BdjeCacheLoader and JdbmCacheLoader. It is not straightforward. We  
> need
> to contact ppl that implemented BdjeCacheLoader and JdbmCacheLoader
> since we have to conform to NodeData streaming standard anyway. Maybe
> they can do it at the same time. Hopefully soon since we need to have
> streaming standard for 2.0.
>
>
>> And then change the cache loaders we wrote to implement the
>> method with the boolean?
>
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev




More information about the jbosscache-dev mailing list