[infinispan-dev] migrating the JPA cache store to the new API

Ray Tsang saturnism at gmail.com
Thu Sep 12 18:05:29 EDT 2013


What's the best way to deal w/ storing MarshalledValue in a cache store
such as JPA CacheStore?
It seems like if MarshalledValue is stored, the same type is expected when
loaded?

Thanks,


On Wed, Sep 11, 2013 at 5:24 PM, Ray Tsang <saturnism at gmail.com> wrote:

> Mircea,
>
> I saw I could use CacheLoaderException for load()... But what should be
> used for write()?  Should errors occurred during write() continue to throw
> CacheLoaderException? or, can it throw any RuntimeException?
>
> Thanks,
>
>
> On Fri, Sep 6, 2013 at 9:38 AM, Ray Tsang <saturnism at gmail.com> wrote:
>
>> I'd be happy to take a look.
>>
>> I also wrote an offheap memory store on my GitHub if you missed it.
>> It can be easily refitted for general purpose mapdb store.
>>
>> On Sep 6, 2013, at 9:33, Mircea Markus <mmarkus at redhat.com> wrote:
>>
>> > Hi Ray,
>> >
>> > Part of Infinispan 6.0 we revamped the CacheStore API. I've migrated
>> the LevelDB store to the new API, do you feel like giving it a go with the
>> Hibernate one?
>> >
>> > Cheers,
>> > --
>> > Mircea Markus
>> > Infinispan lead (www.infinispan.org)
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > infinispan-dev mailing list
>> > infinispan-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20130912/44dcee1b/attachment-0001.html 


More information about the infinispan-dev mailing list