Apache Ignite how to set Synchronization Mode

There is three synchronization modes in Apache Ignite:

  • FULL_ASYNC
  • FULL_SYNC
  • PRIMARY_SYNC

You can switch them by this way:

CacheConfiguration<?, ?> cacheCfg = new CacheConfiguration<>();
cacheCfg.setName("cacheName");
cacheCfg.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_SYNC);
igniteConfiguration.setCacheConfiguration(cacheCfg);
Telegram channel

If you still have any questions, feel free to ask me in the comments under this article or write me at promark33@gmail.com.

If I saved your day, you can support me 🤝

Leave a Reply

Your email address will not be published. Required fields are marked *