what is Ignite Default atomicityMode

classic Classic list List threaded Threaded
3 messages Options
ApacheUser ApacheUser
Reply | Threaded
Open this post in threaded view
|

what is Ignite Default atomicityMode

Hi Team

Apache Ignite atomicityMode is "ATOMIC" by default  or do we need to
explictly include in defaul-config.xml? Pleae advise.

<property name="atomicityMode" value="ATOMIC"/>


Thanks



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
aealexsandrov aealexsandrov
Reply | Threaded
Open this post in threaded view
|

Re: what is Ignite Default atomicityMode

Hi,

Yes, default atomicity mode is ATOMIC. Next code used by Ignite to set the
atomicityMode

initializeConfigDefaults method used for default config. It contains:

        if (cfg.getAtomicityMode() == null)
           
cfg.setAtomicityMode(CacheConfiguration.DFLT_CACHE_ATOMICITY_MODE);

So you can ignore this option in case if you need ATOMIC.

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ApacheUser ApacheUser
Reply | Threaded
Open this post in threaded view
|

Re: what is Ignite Default atomicityMode