ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: Pre Hook before actual Ignite commit
Date Fri, 17 Jun 2016 05:13:37 GMT
Yes, this should be enough.

Let us know if you have more questions on this.

—
Denis

> On Jun 17, 2016, at 5:52 AM, amitpa <amitpa@nrifintech.com> wrote:
> 
> Yes you understood it fine.
> 
> First of all our read-write through is setup correctly.
> 
> So looking into the example you provided, I think only this line to my
> existing configs should do the trick:-
> 
> cacheCfg.setCacheStoreSessionListenerFactories(new
> Factory<CacheStoreSessionListener>() {
>                @Override public CacheStoreSessionListener create() {
>                    CacheSpringStoreSessionListener lsnr = new
> CacheSpringStoreSessionListener();
> 
>                    lsnr.setDataSource(CacheSpringPersonStore.DATA_SRC);
> 
>                    return lsnr;
>                }
>            });
> 
> 
> 
> 
> 
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Pre-Hook-before-actual-Ignite-commit-tp5679p5701.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Mime
View raw message