What is synchronous replication?

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 1504

This topic has not yet been written. The content below is from the topic description.
Let assume that we want define a new cache with synchronous replication programmatically. We create a fresh instance of Configuration object and we set cache mode to synchronous replication. Finally, we define/register this configuration with a manager. If specified cache name "repl" hasn't been defined before, default cache's configuration is cloned and overriden with a clone of our newly created configuration.   Configuration c = new Configuration(); c.setCacheMode(CacheMode.REPL_SYNC);       String newCacheName = "repl"; manager.defineConfiguration(newCacheName, c); Cache cache = manager.getCache(newCacheName);