1.we are using ignite 2.3 version ,
2.We are using an Api.Client node is a spring boot rest application ,we have
written an api to perform curd operations and as well as clearing and
destroying cache.Bellow is the configuration 

cache mode initially *Partitioned * .Later changed to Replicated mode

CacheConfiguration<String, Entity> cacheCfg = new
CacheConfiguration<>(cacheName);
                cacheCfg.setCacheMode(CacheMode.REPLICATED); // Default.
                cacheCfg.setBackups(1);
                cacheCfg.setIndexedTypes(String.class, Entity.class);
                cacheCfg.setAtomicityMode(atomic);
                // client node will wait for write or commit on all 
particpating nodes
        
cacheCfg.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_SYNC);



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to