TreeCache<Object, Object> cache1, cache2;
TransactionManager tm1;
protected void createCacheManagers() throws Throwable {
ConfigurationBuilder cb = getDefaultClusteredCacheConfig(CacheMode.REPL_SYNC, true);
cb.invocationBatching().enable();
createClusteredCaches(2, "replSync", cb);
Cache c1 = cache(0, "replSync");
Cache c2 = cache(1, "replSync");