remove comments

This commit is contained in:
Loredana Crusoveanu 2018-04-25 09:28:33 +03:00
parent f68b3d6ed7
commit 3922598eda

View File

@ -19,14 +19,9 @@ public class SpringDataConfig {
@Bean @Bean
public Ignite igniteInstance() { public Ignite igniteInstance() {
IgniteConfiguration config = new IgniteConfiguration(); IgniteConfiguration config = new IgniteConfiguration();
// Setting some custom name for the node.
//config.setIgniteInstanceName("springDataNode");
// Enabling peer-class loading feature.
//config.setPeerClassLoadingEnabled(true);
// Defining and creating a new cache to be used by Ignite Spring Data
// repository.
CacheConfiguration cache = new CacheConfiguration("baeldungCache"); CacheConfiguration cache = new CacheConfiguration("baeldungCache");
// Setting SQL schema for the cache.
cache.setIndexedTypes(Integer.class, EmployeeDTO.class); cache.setIndexedTypes(Integer.class, EmployeeDTO.class);
config.setCacheConfiguration(cache); config.setCacheConfiguration(cache);
return Ignition.start(config); return Ignition.start(config);