This topic has not yet been written. The content below is from the topic description.
Batching API Once you have configured your cache to use batching, you use it by calling startBatch() and endBatch() on Cache. E.g.,    Cache cache = cacheManager.getCache();   // not using a batch   cache.put("key", "value"); // will replicate immediately    // using a batch   cache.startBatch();   cache.put("k1", "value");   cache.put("k2", "value");   cache.put("k2", "value");   cache.endBatch(true); // This will now replicate the modifications since the batch was started.   cache.startBatch();   cache.put("k1", "value");   cache.put("k2", "value");   cache.put("k3", "value");   cache.endBatch(false); // This will "discard" changes made in the batch