Create a cluster node with a distributed cache
Creating a cluster node with distributed cache  Creating a cluster GlobalConfiguration gc = GlobalConfiguration.getClusteredDefault(); gc.setClusterName("infinispan-test-cluster"); gc.setTransportClass(JGroupsTransport.class.getName());  //Load the jgroups properties Properties p = new Properties(); p.setProperty("configurationFile",�jgroups-config.xml�); gc.setTransportProperties(p);  Configuration c = new Configuration(); //Distributed cache mode c.setCacheMode(Configuration.CacheMode.DIST_SYNC); c.setExposeJmxStatistics(true);  // turn functionality which returns the previous value when setting c.setUnsafeUnreliableReturnValues(true);  //data will be distributed over 3 nodes c.setNumOwners(3); c.setL1CacheEnabled(true);  //Allow batching c.setInvocationBatchingEnabled(true); c.setL1Lifespan(6000000); cache_manager = new DefaultCacheManager(gc, c,false);