[infinispan-dev] CacheLoader and CacheStore

Ray Tsang saturnism at gmail.com
Wed Aug 14 17:14:18 EDT 2013


I actually did not enjoy writing parsers and config builders etc...

On Aug 14, 2013, at 14:58, Mircea Markus <mmarkus at redhat.com> wrote:

>
> On 14 Aug 2013, at 18:48, Dennis Reed <dereed at redhat.com> wrote:
>
>>> I've written such parser on Friday, basically just copying and rewriting
>>> the SingleFileCacheStore stuff (adding my own properties instead). It
>>> took me about an hour and I don't hate anyone from infinispan team :)
>>> Maybe I am already advanced ISPN user, but I don't consider it as a
>>> complicated task as long as there is some template (simple cache-store
>>> implementation) I can use for reference.
>>
>> If it took you an hour as an advanced user that's intimately familiar
>> with Infinispan to implement it and get it working,
>> that means for many of our customers it could take days, and quite a few
>> interactions with support.
>>
>> Compare that to the current implementation where ISPN does the XML
>> parsing and calls setters, which takes 0 time no matter the competence
>> of the user.
>>
>> I'm 100% *against* forcing customers to write their own XML parsing.
>
> +1
> The current parsing-free approach will be kept. Just that we'll add a template for writing stores that would contain a sample optional parser.
>
> 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


More information about the infinispan-dev mailing list