remove comments

This commit is contained in:
Loredana Crusoveanu 2018-04-25 09:28:33 +03:00
parent f68b3d6ed7
commit 3922598eda
1 changed files with 2 additions and 7 deletions

View File

@ -19,14 +19,9 @@ public class SpringDataConfig {
@Bean
public Ignite igniteInstance() {
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");
// Setting SQL schema for the cache.
cache.setIndexedTypes(Integer.class, EmployeeDTO.class);
config.setCacheConfiguration(cache);
return Ignition.start(config);