ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amitpa <ami...@nrifintech.com>
Subject Re: Ignite WRite Behind
Date Thu, 05 May 2016 15:08:19 GMT
does write behind work without this setting :- 
cacheCfg.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_ASYNC);

Here is my cache setting :- 

            cacheCfg.setReadThrough(true);
            cacheCfg.setWriteThrough(true);
            cacheCfg.setWriteBehindEnabled(true);
            cacheCfg.setWriteBehindFlushThreadCount(1);
            cacheCfg.setAtomicityMode(TRANSACTIONAL);
            cacheCfg.setMemoryMode(CacheMemoryMode.OFFHEAP_TIERED);
            cacheCfg.setCacheMode(CacheMode.PARTITIONED);
            cacheCfg.setBackups(0);
            cacheCfg.setSwapEnabled(false);
            cacheCfg.setWriteBehindFlushFrequency(5000);
            cacheCfg.setOffHeapMaxMemory(0);

Do I need to add something to it? 



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-WRite-Behind-tp4741p4797.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message