This content has been marked as final. Show 2 replies
What is the difference between GlobalConfiguration and Configuration ?
I am trying to create a clustered cache ... What configuration should I do for a replicated cache so that my data gets copied on all nodes.. As of now I am only able to create a cluster but my data is not getting replicated.. All the nodes are forming a cluster but still the caches behave independent.
this is my config
GlobalConfiguration gc = new GlobalConfigurationBuilder().transport().defaultTransport()
DefaultCacheManager m = new DefaultCacheManager(gc);
Cache <String, String> c= m.getCache();