Merge pull request #4097 from eugenp/BAEL-1610-v2

remove comments
This commit is contained in:
Loredana Crusoveanu 2018-04-25 09:55:20 +03:00 committed by GitHub
commit ce0d68f738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);